Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Do not redirect to OUTPUT channel when debugger close on error #1013

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

snutij
Copy link
Contributor

@snutij snutij commented Jan 30, 2024

Motivation

Closes: Shopify/ruby-lsp#1687

  • Remove the redirection to OUTPUT channel while debugger close on error due to file code. This redirection do not make sense as user want to see the error.
  • Resolves the issue that DEBUG CONSOLE was cleaned.

Implementation

Just remove the LOG_CHANNEL.show(); part while debug session close on error.

Automated Tests

Not added, feel free to ask if this is required.

Manual Tests

720-Screen.Recording.2024-01-30.at.16.12.43.mov

@snutij snutij requested a review from a team as a code owner January 30, 2024 15:28
@snutij snutij requested review from egiurleo and KaanOzkan January 30, 2024 15:28
Copy link
Member

@vinistock vinistock left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

@vinistock vinistock merged commit 06585e7 into Shopify:main Jan 30, 2024
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debugger doesn't output errors if Debug Console is the focused tab
2 participants