launch.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": "单进程",
  6. "type": "node",
  7. "request": "launch",
  8. "program": "${workspaceRoot}/out/launch_debug.js",
  9. "stopOnEntry": false,
  10. "args": [],
  11. "cwd": "${workspaceRoot}",
  12. "preLaunchTask": null,
  13. "runtimeExecutable": null,
  14. "runtimeArgs": [
  15. "--nolazy"
  16. ],
  17. "env": {
  18. "NODE_ENV": "development",
  19. "secure": "false"
  20. },
  21. "sourceMaps": true
  22. },
  23. {
  24. "name": "多进程",
  25. "type": "node",
  26. "request": "launch",
  27. "program": "${workspaceRoot}/out/launch_release.js",
  28. "stopOnEntry": false,
  29. "args": [],
  30. "cwd": "${workspaceRoot}",
  31. "preLaunchTask": null,
  32. "runtimeExecutable": null,
  33. "runtimeArgs": [
  34. "--nolazy"
  35. ],
  36. "env": {
  37. "NODE_ENV": "production",
  38. "secure": "false"
  39. },
  40. "sourceMaps": true
  41. },
  42. {
  43. "name": "网页",
  44. "type": "node",
  45. "request": "launch",
  46. "program": "${workspaceRoot}/webtool/main.js",
  47. "stopOnEntry": false,
  48. "args": [],
  49. "cwd": "${workspaceRoot}",
  50. "preLaunchTask": null,
  51. "runtimeExecutable": null,
  52. "runtimeArgs": [
  53. "--nolazy"
  54. ],
  55. "env": {
  56. "NODE_ENV": "web",
  57. "secure": "false"
  58. },
  59. "sourceMaps": true
  60. }
  61. ]
  62. }