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

Enable console for vscode-js-debug #832

Merged
merged 1 commit into from Oct 2, 2023

Conversation

mickaelistria
Copy link
Contributor

  • Fix some bugs in case DAP process doesn't exist
  • Buffer streams by default so they're not discarded when received before console shows

* Fix some bugs in case DAP process doesn't exist
* Buffer streams by default so they're not discarded when received
before console shows
if (process == null) {
process(null); // create dummy process to have a console
}
dspStreamsProxy = process.getStreamsProxy();
Copy link
Contributor

Choose a reason for hiding this comment

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

Move declaration to here of dspStreamsProxy

Copy link
Contributor

@jonahgraham jonahgraham left a comment

Choose a reason for hiding this comment

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

LGTM - I haven't tried running it though, let me know if you want me to.

@mickaelistria
Copy link
Contributor Author

Thanks, I'm going to merge it.
I'm not yet confident that this is the best approach, as I'm also working on other issues related to process mapping; but I believe it's still a noticeable enhancement over the current state, so let's merge it.

@mickaelistria mickaelistria merged commit 9409bcf into eclipse:master Oct 2, 2023
2 checks passed
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.

None yet

2 participants