launch.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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": "sentry frontend",
  9. "type": "chrome",
  10. "request": "launch",
  11. "url": "http://dev.getsentry.net:8000",
  12. "webRoot": "${workspaceRoot}/src/sentry/static/sentry/app"
  13. },
  14. {
  15. "name": "sentry backend",
  16. "type": "python",
  17. "request": "launch",
  18. "stopOnEntry": true,
  19. "program": "${workspaceRoot}/.venv/bin/sentry",
  20. "args": ["devserver"],
  21. "cwd": "${workspaceRoot}",
  22. "debugOptions": ["WaitOnAbnormalExit", "WaitOnNormalExit", "RedirectOutput"]
  23. },
  24. {
  25. "name": "jest",
  26. "type": "node",
  27. "request": "launch",
  28. "protocol": "inspector",
  29. "program": "${workspaceFolder}/node_modules/.bin/jest",
  30. "internalConsoleOptions": "openOnSessionStart",
  31. "args": [
  32. "--runInBand"
  33. ]
  34. }
  35. ]
  36. }