launch.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "type": "node",
  6. "request": "launch",
  7. "name": "Electron: Main",
  8. "protocol": "inspector",
  9. "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
  10. "env": {
  11. "TABBY_DEV": "1"
  12. },
  13. "runtimeArgs": [
  14. "--remote-debugging-port=9223",
  15. "app"
  16. ],
  17. "windows": {
  18. "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
  19. }
  20. },
  21. {
  22. "name": "Electron: Renderer",
  23. "type": "pwa-chrome",
  24. "request": "attach",
  25. "port": 9223,
  26. "webRoot": "${workspaceFolder}",
  27. "timeout": 30000
  28. }
  29. ],
  30. "compounds": [
  31. {
  32. "name": "Electron: All",
  33. "configurations": [
  34. "Electron: Main",
  35. "Electron: Renderer"
  36. ]
  37. }
  38. ]
  39. }