launch.json 894 B

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