launch.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": "Launch",
  6. "type": "node",
  7. "request": "launch",
  8. "program": "${workspaceRoot}/src/server.js",
  9. "stopOnEntry": false,
  10. "args": [],
  11. "cwd": "${workspaceRoot}",
  12. "preLaunchTask": null,
  13. "runtimeExecutable": null,
  14. "runtimeArgs": [
  15. "--nolazy",
  16. "--require",
  17. "@babel/register"
  18. ],
  19. "envFile": "${workspaceFolder}/../.env.development",
  20. "console": "internalConsole",
  21. "sourceMaps": true,
  22. "outFiles": []
  23. },
  24. {
  25. "name": "Attach",
  26. "type": "node",
  27. "request": "attach",
  28. "port": 5858,
  29. "address": "localhost",
  30. "restart": false,
  31. "sourceMaps": false,
  32. "outFiles": [],
  33. "localRoot": "${workspaceRoot}",
  34. "remoteRoot": null
  35. },
  36. {
  37. "name": "Attach to Process",
  38. "type": "node",
  39. "request": "attach",
  40. "processId": "${command.PickProcess}",
  41. "port": 5858,
  42. "sourceMaps": false,
  43. "outFiles": []
  44. }
  45. ]
  46. }