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

Fix hosted plugin restart debug instance starts a regular instance #6131

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

DoroNahari
Copy link
Contributor

@DoroNahari DoroNahari commented Sep 6, 2019

Signed-off-by: Doron Nahari [email protected]

What it does

When restarting hosted plugin debug instance, it starts a regular instance instead of debug again.
This pr fix this behaviour by updating correctly the this.isDebug parameter and restart the instance according to it's value

How to test

Start a debug instance of some theia-plugin/vscode-extension with the command Hosted Plugin: Debug Instance. after it's has been started, restart the instance with the command Hosted Plugin: Restart Instance. The new instance is not a debug instance

Review checklist

Reminder for reviewers

@DoroNahari DoroNahari requested a review from a team as a code owner September 6, 2019 13:34
@akosyakov akosyakov added debug issues that related to debug functionality plug-in system issues related to the plug-in system labels Sep 7, 2019
@akosyakov
Copy link
Member

@theia-ide/plugin-system @tolusha Could someone review please? i am not very familiar with plugin-dev code

Copy link
Contributor

@tolusha tolusha left a comment

Choose a reason for hiding this comment

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

I didn't find any regression, everything works as expected.

@akosyakov
Copy link
Member

@tolusha please approve if everything works for you and help with merging!

Copy link
Contributor

@tolusha tolusha left a comment

Choose a reason for hiding this comment

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

I forgot :(

@akosyakov
Copy link
Member

@tolusha merging?

@tolusha tolusha merged commit 4103e56 into eclipse-theia:master Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug issues that related to debug functionality plug-in system issues related to the plug-in system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants