You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.8 KiB

11 months ago
  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": "Collector debug",
  9. "request": "launch",
  10. "cwd": "${workspaceFolder}/collector",
  11. "env": {
  12. "NODE_ENV": "development"
  13. },
  14. "runtimeArgs": [
  15. "index.js"
  16. ],
  17. // not using yarn/nodemon because it doesn't work with breakpoints
  18. // "runtimeExecutable": "yarn",
  19. "skipFiles": [
  20. "<node_internals>/**"
  21. ],
  22. "type": "node"
  23. },
  24. {
  25. "name": "Server debug",
  26. "request": "launch",
  27. "cwd": "${workspaceFolder}/server",
  28. "env": {
  29. "NODE_ENV": "development"
  30. },
  31. "runtimeArgs": [
  32. "index.js"
  33. ],
  34. // not using yarn/nodemon because it doesn't work with breakpoints
  35. // "runtimeExecutable": "yarn",
  36. "skipFiles": [
  37. "<node_internals>/**"
  38. ],
  39. "type": "node"
  40. },
  41. {
  42. "name": "Frontend debug",
  43. "request": "launch",
  44. "cwd": "${workspaceFolder}/frontend",
  45. "env": {
  46. "NODE_ENV": "development",
  47. },
  48. "runtimeExecutable": "${workspaceFolder}/frontend/node_modules/.bin/vite",
  49. "runtimeArgs": [
  50. "--debug",
  51. "--host=0.0.0.0"
  52. ],
  53. // "runtimeExecutable": "yarn",
  54. "skipFiles": [
  55. "<node_internals>/**"
  56. ],
  57. "type": "node"
  58. },
  59. {
  60. "name": "Launch Edge",
  61. "request": "launch",
  62. "type": "msedge",
  63. "url": "http://localhost:3000",
  64. "webRoot": "${workspaceFolder}"
  65. },
  66. {
  67. "type": "chrome",
  68. "request": "launch",
  69. "name": "Launch Chrome against localhost",
  70. "url": "http://localhost:3000",
  71. "webRoot": "${workspaceFolder}"
  72. }
  73. ]
  74. }