I'm using VSCode debugger and winston logger for NodeJS, but can't see output from application unless I specify external terminal like this:
"version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Launch Program", "program": "${workspaceFolder}/server.js", "console": "externalTerminal" } ]
Is there way to see that output in output window, like when i start code using CodeRunner plugin?
When using a logger that outputs to
process.stdout.write
you can use
"outputCapture": "std" in the launch config to also capture that.
"outputCapture": "std"
2.1m questions
2.1m answers
60 comments
57.0k users