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

clearConsoleOnReload #347

Open
WagnerDon opened this issue Nov 21, 2023 · 1 comment
Open

clearConsoleOnReload #347

WagnerDon opened this issue Nov 21, 2023 · 1 comment
Labels

Comments

@WagnerDon
Copy link

"Clear the debug console in VS Code when the page is reloaded in Firefox" feature does not work. The console will still stack up with old and new messages. Neither in opening a file or in local-host.

@nchevobbe nchevobbe added the bug label Jan 22, 2024
@nchevobbe
Copy link
Member

Thanks for the report.
I do reproduce the issue.

Clearing should happen from

tabActor.onFramesDestroyed(() => {
this.sendEvent(new Event('removeSources', <RemoveSourcesEventBody>{
threadId: threadAdapter.id
}));
if (this.config.clearConsoleOnReload) {
this.sendEvent(new OutputEvent('\x1b[2J'));
}

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

No branches or pull requests

2 participants