This is a minimal reproduction showcasing a bug where logs outputted by consola
are never rendered by the VSCode debugger.
Run the following command
node main.mjs
Which will output logs from both console.log()
and consola
as expected.
Hello from console.log() 1
Hello from consola 1
Hello from console.log() 2
Hello from consola 2
# etc
- Open the
Run and Debug
tab in VSCode (Ctrl+Shift+D
) - Click
Start Debugging
(F5
)
This will output logs from only console.log()
Hello from console.log() 1
Hello from console.log() 2
Hello from console.log() 3
# etc