Skip to content

Instantly share code, notes, and snippets.

@zaratedev
Created December 1, 2023 16:28
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 zaratedev/30a71688b0e364e078c9b56f122d6111 to your computer and use it in GitHub Desktop.
Save zaratedev/30a71688b0e364e078c9b56f122d6111 to your computer and use it in GitHub Desktop.
launch.json
{
// 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": 9003
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9003,
},
{
"name": "PIM 2",
"type": "php",
"request": "launch",
"port": 9003,
"pathMappings": {
"/var/www/html": "${workspaceRoot}",
},
"ignore": [
"**/vendor/**/*.php"
]
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment