-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Elements in args-list does not update when restarting debug session #118196
Comments
I can reproduce this. @connor4312 @weinand I am not sure what is the right behaviour here. |
Today the spec of the DAP I suggest that we create a DAP feature request in the DAP's repo. @connor4312 @isidorn what do you think? |
@weinand this sounds good to me |
That sounds good to me |
@isidorn could you please create a DAP feature request in https://github.com/Microsoft/debug-adapter-protocol/issues |
Created microsoft/debug-adapter-protocol#180 |
@vscode-triage-bot I hate you bot! |
@connor4312 @isidorn Now the |
@weinand great, I can look into this. |
I have pushed a change such that VS Code will send the configuration as part of the Assigning this item to you @connor4312 so you can look into adopting it on the js-debug side. |
@isidorn yes, sending the resolved configuration is correct (since that is the same what a DA sees in the "launch" or "attach" requests when it does not implement DAP's "restart" request). (and it goes without saying that the resolved configuration must be based on the most recent launch config on disk...) |
Great, that is what I am doing now - respecting the most recent launch config on disk. |
It looks like for js-debug, restart is always being dispatched to the child session, so there's no configuration to re-read. Should restarting via the toolbar go to the root session like stop/detach does? |
@connor4312 yes this makes sense, I have pushed a change to tackle this. |
@connor4312 @isidorn since parent/child relations between debug sessions are not part of the DAP, I think the Name suggestion: |
Yeah I think it would belong under the |
Sounds good to me |
I'll add the |
@isidorn a new flag @connor4312 you can now start passing the correct value for your case via |
@weinand thanks for adding the flag. Since the flag's name if |
@isidorn yes, only if @connor4312 that's OK with you? |
I pushed a change that the debugSession now respects Leaving this issue open so @connor4312 can pass the |
@connor4312 are you planning to add support for |
Fixed in microsoft/vscode-js-debug@f6635d9 It seems to work well. I'm ok marking the feature request as |
@connor4312 yes, please mark #128058 as verified. |
Verified that this works fine now. |
Issue Type: Bug
"args": ["--update", "filename.json", "filename2.json"]
"args": ["--update", "someOtherFile.json", "filename2.json"]
VS Code version: Code 1.53.2 (622cb03, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.18363
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (16)
A/B Experiments
The text was updated successfully, but these errors were encountered: