launch.json 920 B

12345678910111213141516171819202122232425262728
  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": "Current TS File",
  9. "type": "node",
  10. "request": "launch",
  11. "args": ["${relativeFile}"],
  12. "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
  13. "sourceMaps": true,
  14. "cwd": "${workspaceRoot}",
  15. "protocol": "inspector",
  16. },
  17. {
  18. "type": "node",
  19. "request": "launch",
  20. "name": "Launch Program",
  21. "program": "${workspaceFolder}/lib/index.js",
  22. "preLaunchTask": "tsc: build - tsconfig.json",
  23. "outFiles": [
  24. "${workspaceFolder}/lib/**/*.js"
  25. ]
  26. }
  27. ]
  28. }