launch.json 1016 B

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