Skip to content

Instantly share code, notes, and snippets.

@abrahaobittar
Last active April 30, 2021 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abrahaobittar/050331e4281e4db084570b892f7e4349 to your computer and use it in GitHub Desktop.
Save abrahaobittar/050331e4281e4db084570b892f7e4349 to your computer and use it in GitHub Desktop.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
//"/var/www/html": "${workspaceFolder}"
//nao consegui fazer funcionar acima
"/var/www/html": "Code/php/"
}
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
@abrahaobittar
Copy link
Author

Testar "${workspaceRoot}" ao invés de ${workspaceFolder}?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment