launch.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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": "Python: Facedetect",
  9. "type": "python",
  10. "request": "launch",
  11. "program": "${workspaceFolder}/facedetect/app/main.py",
  12. "console": "integratedTerminal"
  13. },
  14. {
  15. "type": "node",
  16. "request": "launch",
  17. "name": "Launch NoctBot",
  18. "program": "${workspaceFolder}/bot/src/main.ts",
  19. "preLaunchTask": "tsc-build",
  20. "cwd": "${workspaceFolder}/bot",
  21. "outFiles": [
  22. "${workspaceFolder}/bot/build/**/*.js"
  23. ],
  24. "env": {
  25. "NODE_ENV": "dev"
  26. },
  27. "outputCapture": "std"
  28. },
  29. {
  30. "type": "node",
  31. "request": "launch",
  32. "name": "Launch WebServer",
  33. "program": "${workspaceFolder}/web/node_modules/sapper/dist/cli.js",
  34. "args": [
  35. "dev"
  36. ],
  37. "cwd": "${workspaceFolder}/web",
  38. "autoAttachChildProcesses": true
  39. }
  40. ],
  41. "compounds": [
  42. {
  43. "name": "Bot+WebServer",
  44. "configurations": [
  45. "Launch NoctBot",
  46. "Launch WebServer"
  47. ]
  48. },
  49. {
  50. "name": "Bot+Facedetect",
  51. "configurations": [
  52. "Launch NoctBot",
  53. "Python: Facedetect"
  54. ]
  55. }
  56. ]
  57. }