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

Closed
WagnerDon opened this issue Nov 21, 2023 · 2 comments
Closed

clearConsoleOnReload #347

WagnerDon opened this issue Nov 21, 2023 · 2 comments

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'));
}

@hbenl hbenl added the console label Nov 6, 2024
@hbenl
Copy link
Collaborator

hbenl commented Jan 10, 2025

This is fixed in version 2.13.0.

@hbenl hbenl closed this as completed Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants