V
V
Vitaly2017-08-01 18:38:30
IDE
Vitaly, 2017-08-01 18:38:30

How to debug Electron?

IDE: VSCode. Launch configuration:

{
      "name": "Desktop",
      "type": "node",
      "request": "launch",
      "cwd": "${workspaceRoot}/www",
      "runtimeExecutable": "${workspaceRoot}/www/node_modules/.bin/electron",
      "program": "${workspaceRoot}/www/desktop.js"
}

Timed out: unable to connect to target (econnrefused).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question