-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
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
If node is started with --debug a space appears on the following line #7755
Comments
FWIW, cannot reproduce on Linux with v4, v5, v6 and master, assuming exit.js looks like this: console.log('line 1')
console.log('line 2') A full test case would be appreciated. |
well, that is Windows and I wouldn't know what a test case would look like other than what you already can see on the screenshot. And yes, its only those 2 lines you write in |
@nodejs/platform-windows Can someone confirm? |
Same here.
|
It seems this happens because WriteConsoleW is called with a string that has a null character at the end here, which the console turns into a space. For some reason the null character is omitted if stderr is piped to a file. Replacing |
Super, Thanks for the fix. |
See the discussion over here
The text was updated successfully, but these errors were encountered: