-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
8965-hosted-plugin-outfiles #9176
8965-hosted-plugin-outfiles #9176
Conversation
@danarad05 are you still able to debug ts files without the sources? |
Yes, debugged extension successfully - an extension that prior to this change wasn't debugeable because vscode-js-debug didn't complete loading all extension js files - event after increasing timeout to 100s. And the sources exist in |
@vince-fugnitto who could review this? Thanks |
packages/plugin-dev/src/browser/hosted-plugin-manager-client.ts
Outdated
Show resolved
Hide resolved
I think it might be ok temporarily. IIUC this Looking at how VS Code does things they have a specific I wasn't able to find where this debug configuration is contributed in the VS Code repo, but I wouldn't be surprised if it was one of the proprietary bits from VS Code. In the long run I think it would be best to have the same type of debug configuration, this way developers can configure everything more specifically rather than forcing everyone to use the |
9c41350
to
1dd3879
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Can you restart CI to see if it turns green? |
Sorry, I don't have required privileges. |
@danarad05 please rebase and amend the pull-request it should re-trigger CI. For some reason the 're-run all jobs' option is not present on the github actions page for this pull-request. |
1dd3879
to
93c4f39
Compare
Thanks |
Hosted Plugin debug session contained entire directory of plugin instead of only the out directory containing it - which resulted in performance warning because it would load all files in that directory. Also, added to preferences ability to configure launch `outFiles`. Signed-off-by: Dan Arad <[email protected]>
26b397c
to
6262d8c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look fine to me 👍
@danarad05 we merge for the release? :) |
Yes please |
Hosted Plugin debug session contained entire directory of plugin instead of only the out directory, which resulted in performance warning because it would load all files in that directory.
Remarks:
vscode-js-debug
is the library that throws the warning.Signed-off-by: Dan Arad [email protected]
What it does
Fixes: #8965
How to test
vscode-extension-samples\custom-editor-sample
Hosted Plugin: Start Instance
and try to debug extensionReview checklist
Reminder for reviewers