launch.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "configurations": [
  3. {
  4. "type": "vscode-edge-devtools.debug",
  5. "request": "launch",
  6. "name": "Launch Microsoft Edge and open the Edge DevTools",
  7. "url": "http://localhost:8080",
  8. "webRoot": "e:\\web\\main\\index.html"
  9. },
  10. {
  11. "type": "pwa-msedge",
  12. "name": "Launch Microsoft Edge",
  13. "request": "launch",
  14. "runtimeArgs": [
  15. "--remote-debugging-port=9222"
  16. ],
  17. "url": "e:\\web\\main\\index.html", // Provide your project's url to finish configuring
  18. "presentation": {
  19. "hidden": true
  20. }
  21. },
  22. {
  23. "type": "pwa-msedge",
  24. "name": "Launch Microsoft Edge in headless mode",
  25. "request": "launch",
  26. "runtimeArgs": [
  27. "--headless",
  28. "--remote-debugging-port=9222"
  29. ],
  30. "url": "e:\\web\\main\\index.html", // Provide your project's url to finish configuring
  31. "presentation": {
  32. "hidden": true
  33. }
  34. },
  35. {
  36. "type": "vscode-edge-devtools.debug",
  37. "name": "Open Edge DevTools",
  38. "request": "attach",
  39. "url": "e:\\web\\main\\index.html", // Provide your project's url to finish configuring
  40. "presentation": {
  41. "hidden": true
  42. }
  43. }
  44. ],
  45. "compounds": [
  46. {
  47. "name": "Launch Edge Headless and attach DevTools",
  48. "configurations": [
  49. "Launch Microsoft Edge in headless mode",
  50. "Open Edge DevTools"
  51. ]
  52. },
  53. {
  54. "name": "Launch Edge and attach DevTools",
  55. "configurations": [
  56. "Launch Microsoft Edge",
  57. "Open Edge DevTools"
  58. ]
  59. }
  60. ]
  61. }