Syntax error not showing in stderr with node --inspect-brk
in node 12+
#41792
Labels
inspector
Issues and PRs related to the V8 inspector protocol
HI,
I'm trying a simple script with a syntax error in it but I'm not getting the error displayed when running with node versions 12+. Older versions are ok. I've tried this script (in test.js):
When running with node 11, I'm seeing the error:
But with node 12+ (tried 13,14) the error is not echoed in the terminal and I'm getting:
I would like to get the error echoed in the terminal. Is this a valid output or I'm doing anything wrong?
Thanks-
The text was updated successfully, but these errors were encountered: