launch.json 783 B

12345678910111213141516171819202122232425262728
  1. {
  2. // Use IntelliSense to learn about possible Node.js debug 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. "type": "node",
  9. "request": "attach",
  10. "name": "Attach (Inspector Protocol)",
  11. "port": 9229,
  12. "protocol": "inspector"
  13. },
  14. {
  15. "type": "node",
  16. "request": "launch",
  17. "name": "Launch Program",
  18. "program": "${workspaceRoot}\\server.js"
  19. },
  20. {
  21. "type": "node",
  22. "request": "attach",
  23. "name": "Attach to Port",
  24. "address": "localhost",
  25. "port": 9222
  26. }
  27. ]
  28. }