launch.json 787 B

1234567891011121314151617181920212223242526
  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. "serverSourceRoot":"192.168.0.21"
  12. "port": 9001,
  13. "pathMappings": {
  14. "/var/www/html/api/src": "${workspaceFolder}"
  15. },
  16. },
  17. {
  18. "name": "Launch currently open script",
  19. "type": "php",
  20. "request": "launch",
  21. "program": "${file}",
  22. "cwd": "${fileDirname}",
  23. "port": 9001
  24. }
  25. ]
  26. }