Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't cancel a debug session while it's initializing #62346
This seems broken again, maybe since the change to show the debug widget while initializing. Plus, sometimes it doesn't time out after failing to attach, so I'm stuck forever.
Launch this config with nothing running on that port, so it doesn't have anything to attach to:
referenced this issue
Nov 1, 2018
I still can not reproduce this
@weinand can you please try to repro this?
The issue is (again) a missing call to
But at the end of the handler a
@isidorn please verify that calling
@isidorn it seems to work most of the time now, but sometimes if you are quick you have to hit the stop button more than once to get it to work, and sometimes it results in this dialog:
Also related -- if there is already a debugging session going (say debugging an extension) and then you start an attach (to say a language server) the attach won't show up in toolbar until the attach succeeds. Although if you hit the stop button it will stop the extension debugging and then the toolbar will show the pending attach operation, which can be canceled.