VSCode in notebook doesn't print if has error

Hi,

When using VS Code notebook I notice the following behavior:

println("You won't see this print.")
error()

The cell doesn’t output the println command.
This is very common practice for me while debugging.
Even more, when I delete the error line I get

println("You won't see this print.")
# error()

You won't see this print.
You won't see this print.

like that the printed line was sitting there waiting for me somewhere.

Is that an issue? If so, where to post it?
Thanks,
Elyco

This is a bug and will be fixed in the next release.

The current workaround is to add a flush(stdout) after your print statements.

Also, please open issues for things like these – if you have to ask yourself whether something is an issue, then it most likely is one (be it an actual bug or bad UX or bad documentation).

Thanks for the workaround.

I wasn’t sure where to open an issue, now it seems trivial. Still need to open an issue?

Nope, thanks.