launch.json 885 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  3. "version": "0.2.0",
  4. "configurations": [
  5. {
  6. "type": "chrome",
  7. "request": "launch",
  8. "name": "Chrome Debug",
  9. "url": "http://localhost:4200",
  10. "webRoot": "${workspaceFolder}",
  11. "runtimeArgs": []
  12. },
  13. {
  14. "type": "chrome",
  15. "request": "launch",
  16. "name": "Chrome Debug (incognito)",
  17. "url": "http://localhost:4200",
  18. "webRoot": "${workspaceFolder}",
  19. "runtimeArgs": ["--incognito"]
  20. },
  21. {
  22. "name": "ng serve",
  23. "type": "chrome",
  24. "request": "launch",
  25. "preLaunchTask": "npm: start",
  26. "url": "http://localhost:4200/"
  27. },
  28. {
  29. "name": "ng test",
  30. "type": "chrome",
  31. "request": "launch",
  32. "preLaunchTask": "npm: test",
  33. "url": "http://localhost:9876/debug.html"
  34. }
  35. ]
  36. }