We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node: v20.14.0 Consola: v3.2.3 OS: Pop!_OS 22.04 LTS
v20.14.0
v3.2.3
Pop!_OS 22.04 LTS
https://github.com/joshmossas/consola-debugger-bug
When attached to a debugger consola logs never get printed out.
Below are some screenshots taken from running the app in my linked reproduction repository.
Both console.log() and consola.log() output to the console
console.log()
consola.log()
Only console.log() outputs to the console
No response
The text was updated successfully, but these errors were encountered:
Okay so I've figured out the issue. This due to a limitation with the VSCode debugger. See here: microsoft/vscode#41600
Basically it doesn't read anything from stdout. It only reads logs going through the NodeJS debug socket.
To get around this you can do one of the following:
outputCapture
std
launch.json
console
integratedTerminal
externalTerminal
or both.
Sorry, something went wrong.
No branches or pull requests
Environment
Node:
v20.14.0
Consola:
v3.2.3
OS:
Pop!_OS 22.04 LTS
Reproduction
https://github.com/joshmossas/consola-debugger-bug
Describe the bug
When attached to a debugger consola logs never get printed out.
Below are some screenshots taken from running the app in my linked reproduction repository.
Running from the command line:
Both
console.log()
andconsola.log()
output to the consoleRunning with the debugger:
Only
console.log()
outputs to the consoleAdditional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: