VSCode Debugging not showing logs
See original GitHub issueDescribe the bug If you debug an js file in VSCode with signale logs, they don’t show up in the debug output
To Reproduce Steps to reproduce the behavior. Simple package with just signale as dependencie
const signale = require('signale');
signale.info('foo');
console.log('bar')
‘bar’ gets logged, ‘foo’ not Expected behavior A clear and concise description of what you expected to happen. i don’t see any logs. Loggin to a file stream works
Screenshots If applicable, add screenshots to help explain your problem.
Technical Info (please complete the following information)
- OS: Windows 10
- Signale Version: 1.1.0
- Node.js Version: 9.6.1 & 10.1.0
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Visual Studio Code not showing console logs - Stack Overflow
If you are running in the debug mode, In Visual Studio Code then only logs will be displayed.In the menu bar there is...
Read more >Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >Cannot see console.log on debug console #117560 - GitHub
Issue Type: Bug Open any JS file Run console.log("hello"); there is no output in debug console VS Code version: Code 1.53.2 (622cb03, 202......
Read more >Using console.log() debugging in Visual Studio Code
In the video I use a project I have open with a launch.json file already defined, which means it opens the correct URL...
Read more >Using console.log() debugging in Visual Studio Code
Using the new in-built JavaScript debugger in Visual Studio code you can use the browser developer tools Console right inside the editor.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
EDIT: using the “console”: “integratedTerminal” launch option shows all the logs.
ok i think i found the issue: https://github.com/Microsoft/vscode/issues/19750 VSCode is not using the
process.stdout.write
but rather the debug protocol to show the debug messages. This way any log from signale is not showing up in the normal ‘Debug Console’ of VSCode.Having the same issue more than two years later again and finding this issue… I guess the answer is no. 😄