3
0

launch.json 544 B

12345678910111213141516171819202122232425
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "type": "node",
  6. "request": "launch",
  7. "name": "启动React项目",
  8. "runtimeExecutable": "npm",
  9. "runtimeArgs": ["run-script", "start"]
  10. },
  11. {
  12. "type": "chrome",
  13. "request": "launch",
  14. "name": "调试Chrome",
  15. "url": "http://localhost:3000",
  16. "webRoot": "${workspaceFolder}"
  17. }
  18. ],
  19. "compounds": [
  20. {
  21. "name": "Launch Next Dev Server and Chrome",
  22. "configurations": ["启动React项目", "调试Chrome"]
  23. }
  24. ]
  25. }