Skip to content
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

Debugger fix #1835

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Debugger fix #1835

wants to merge 5 commits into from

Conversation

baybal
Copy link

@baybal baybal commented Aug 13, 2020

Fixes #1544, and does so more reliably than #1798 , even with overridden console, or individual console methods

louisgv
louisgv approved these changes Feb 4, 2021
@louisgv
Copy link

louisgv commented Feb 4, 2021

The CI build error seems to be a windows line ending issue?

image

@@ -30,7 +31,13 @@ module.exports = class Console extends TransportStream {
this.name = options.name || 'console';
this.stderrLevels = this._stringArrayToSet(options.stderrLevels);
this.consoleWarnLevels = this._stringArrayToSet(options.consoleWarnLevels);
this.eol = options.eol || os.EOL;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you might need to either change the behavior of the eol tests that're failing to skip eol, or reimplement the eol for windows compat?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it seems that Windows is using some non-standard line ending?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - windows uses \r\n instead of \n for new line, thus broke the test above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Console transport does not write to debug console
2 participants