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

always show debug icon on first start #5584

Merged
merged 1 commit into from
Sep 5, 2019

Conversation

amiramw
Copy link
Member

@amiramw amiramw commented Jun 26, 2019

Align with vscode behavior.
See discussion: https://spectrum.chat/theia/dev/debug-icon-appearance~a321c3d1-11f4-45ec-a5ed-2d5e1ba2b714

Signed-off-by: Amiram Wingarten amiram.wingarten@sap.com

@amiramw
Copy link
Member Author

amiramw commented Jun 26, 2019

I'm getting this error in the build:

Error: Cannot find the log file for the Electron codecs test.
    at main (/Users/travis/build/theia-ide/theia/scripts/post-install.js:30:15)
    at Object.<anonymous> (/Users/travis/build/theia-ide/theia/scripts/post-install.js:34:1)

Anyone has any clue?

@kittaakos
Copy link
Contributor

Anyone has any clue?

CC: @marechal-p

@vince-fugnitto
Copy link
Member

@amiramw can you rebase your PR on master, hopefully it's fixed by #5587

Align with vscode behavior.
See discussion: https://spectrum.chat/theia/dev/debug-icon-appearance~a321c3d1-11f4-45ec-a5ed-2d5e1ba2b714

Signed-off-by: Amiram Wingarten <amiram.wingarten@sap.com>
@amiramw
Copy link
Member Author

amiramw commented Jun 26, 2019

now appveyor fail with unrelated error...

@vince-fugnitto
Copy link
Member

@amiramw I'm just curious, initially we had your change, but then it was updated to the following c52e20f. It looks like the PR intended to only show the debug view if there were currently supported debug configurations. Perhaps we should check thoroughly why the change was needed before we revert to the original design.

@amiramw
Copy link
Member Author

amiramw commented Jun 26, 2019

@akosyakov could you advise maybe why was this check added and whether it is ok not to have it? In vscode the debug icon is visible even though there are not configurations.

@akosyakov
Copy link
Member

akosyakov commented Jul 1, 2019

We don't want to confuse a user that debugging is supported if there is no debug adapter available for his project, i.e. debug extension is installed, but no concrete debuggers. I'm not sure how to go about it. Maybe it would be better never show it by default, but concrete IDEs can enable it. cc @svenefftinge

Agreed though that configurations check is not good way to detect debug adapter support.

@akosyakov akosyakov requested a review from svenefftinge July 1, 2019 08:12
@akosyakov akosyakov added the debug issues that related to debug functionality label Sep 5, 2019
@akosyakov
Copy link
Member

@svenefftinge Could we just enable it always?

@svenefftinge
Copy link
Contributor

Yes, I think we can align it now, given that our vs code extension support has been improved a lot lately.

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

the debug view is there by default, @amiramw thank you!

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants