Last active
August 21, 2018 09:46
-
-
Save hungtrinh/7cc6e67226ec73d7b238812e38ae5ecf to your computer and use it in GitHub Desktop.
xdebug remote vscode config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug - Remote", | |
"type": "php", | |
"request": "launch", | |
"port": 9000, | |
"pathMappings": { | |
"/var/www/html/your_app_on_server": "${workspaceFolder}", | |
} | |
}, | |
{ | |
"name": "Launch currently open script - Local", | |
"type": "php", | |
"request": "launch", | |
"program": "${file}", | |
"cwd": "${fileDirname}", | |
"port": 9000, | |
"env": { | |
"XDEBUG_CONFIG": "idekey=session_name" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment