launch.json 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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. "type": "node",
  9. "request": "launch",
  10. "name": "Launch NoctBot",
  11. "program": "${workspaceFolder}/bot/src/main.ts",
  12. "preLaunchTask": "tsc-build",
  13. "cwd": "${workspaceFolder}/bot",
  14. "outFiles": [
  15. "${workspaceFolder}/bot/build/**/*.js"
  16. ],
  17. "env": {
  18. "NODE_ENV": "dev"
  19. }
  20. },
  21. {
  22. "type": "node",
  23. "request": "launch",
  24. "name": "Launch WebServer",
  25. "program": "${workspaceFolder}/web/node_modules/sapper/dist/cli.js",
  26. "args": [
  27. "dev"
  28. ],
  29. "cwd": "${workspaceFolder}/web",
  30. "autoAttachChildProcesses": true
  31. }
  32. ]
  33. }