launch.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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": "Docker: Attach to server",
  9. "type": "node",
  10. "request": "attach",
  11. "port": 9228,
  12. "address": "localhost",
  13. "localRoot": "${workspaceFolder}/server",
  14. "remoteRoot": "/opt/app/",
  15. "autoAttachChildProcesses": true,
  16. "restart": true,
  17. "continueOnAttach": true,
  18. "smartStep": true
  19. },
  20. {
  21. "name": "Docker: Attach to backend",
  22. "type": "node",
  23. "request": "attach",
  24. "port": 9229,
  25. "address": "localhost",
  26. "localRoot": "${workspaceFolder}/backend",
  27. "remoteRoot": "/opt/app/",
  28. "autoAttachChildProcesses": true,
  29. "restart": true,
  30. "continueOnAttach": true,
  31. "smartStep": true
  32. }
  33. ]
  34. }