My Laravel project is setup in VS Code. This project is setup to use Homestead/Vagrant. I'm trying to setup the launch.json file, but I can't figure out how the pathMappings must be setup:
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/path/on/server": "${workspaceRoot}/local/path"
}
}
]
How do I set: /path/on/server?
How do I set: ${workspaceRoot}/local/path?
pathMappings": { "/var/www/laravel": "C:\Users\Thomas\Documents\laravel"}