I have created launch.json
file exactly as this for debugging my Electron Application on VS Code. But the console.log()
not printing anything to the debug console.
If I add "console": "integratedTerminal"
to launch.json
the log displays on the built in terminal. I want the log to be displayed on debug console. How can I fix it?
In the launch.json
configuration you are using, add
"outputCapture": "std"
example
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"outputCapture": "std",
...
}
]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With