launch.json 732 B

12345678910111213141516171819202122232425
  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "Listen for Xdebug",
  9. "type": "php",
  10. "request": "launch",
  11. "port": 9001,
  12. "pathMappings": {
  13. "/var/www/d9": "${workspaceFolder}"
  14. },
  15. },
  16. {
  17. "name": "Launch currently open script",
  18. "type": "php",
  19. "request": "launch",
  20. "program": "${file}",
  21. "cwd": "${fileDirname}",
  22. "port": 9001
  23. }
  24. ]
  25. }