launch.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. "outputCapture": "std"
  21. },
  22. {
  23. "type": "node",
  24. "request": "launch",
  25. "name": "Launch WebServer",
  26. "program": "${workspaceFolder}/web/node_modules/sapper/dist/cli.js",
  27. "args": [
  28. "dev"
  29. ],
  30. "cwd": "${workspaceFolder}/web",
  31. "autoAttachChildProcesses": true
  32. }
  33. ],
  34. "compounds": [
  35. {
  36. "name": "Bot+WebServer",
  37. "configurations": ["Launch NoctBot", "Launch WebServer"]
  38. }
  39. ]
  40. }