launch.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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": "Launch built-in server and debug",
  9. "type": "php",
  10. "request": "launch",
  11. "runtimeArgs": [
  12. "-S",
  13. "localhost:8000",
  14. "-t",
  15. "."
  16. ],
  17. "port": 9003,
  18. "serverReadyAction": {
  19. "action": "openExternally"
  20. }
  21. },
  22. {
  23. "name": "Debug current script in console",
  24. "type": "php",
  25. "request": "launch",
  26. "program": "${file}",
  27. "cwd": "${fileDirname}",
  28. "externalConsole": false,
  29. "port": 9003
  30. },
  31. {
  32. "name": "Listen for Xdebug",
  33. "type": "php",
  34. "request": "launch",
  35. "port": 9003
  36. }
  37. ]
  38. }