I am trying to develop a sample application for learning electron JS. But unfortunately for me, the node debugger is not working for this particular project.
But when I tried debugging electron-quick-start app it works, we can see the call stack and all.
lunch.json looks like this
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process2",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"program": "${workspaceRoot}/main.js",
"diagnosticLogging": true
}
]
}
I am running on Linux machine with Node v7.4.0.
The error message I am getting on CALL STACK tab is No Call stack available(vscode_backtrace:Internal error: TypeError: undefined is not a function)
Please help me to resolve this.
via Rohith K P
No comments:
Post a Comment