Skip to content

Instantly share code, notes, and snippets.

Last active May 30, 2019
What would you like to do?
ConfCats - VSCode XDebug settings for launch.json #confcats
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit:
"version": "0.2.0",
"configurations": [
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"log": true,
// "localSourceRoot": "${workspaceRoot}/", // Deprecated
// "serverSourceRoot": "/app/", // Deprecated
"pathMappings": {
"/app/": "${workspaceRoot}/",
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment