launch.json 975 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": "Launch Program",
  6. "type": "node",
  7. "request": "launch",
  8. "program": "${workspaceFolder}/source/app.js",
  9. "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
  10. "windows": {
  11. "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
  12. }
  13. },
  14. {
  15. "name": "Debug Renderer Process",
  16. "type": "chrome",
  17. "request": "launch",
  18. "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
  19. "windows": {
  20. "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
  21. },
  22. "runtimeArgs": [
  23. "${workspaceRoot}",
  24. "--enable-logging",
  25. "--remote-debugging-port=9222"
  26. ],
  27. "webRoot": "${workspaceRoot}"
  28. }
  29. ]
  30. }