webdev icon indicating copy to clipboard operation
webdev copied to clipboard

Support some equivalent of --start-paused for webdev daemon

Open DanTup opened this issue 6 years ago • 3 comments

Without this there are races setting breakpoints in the IDE for startup code. In Flutter this is done by not calling runMain until we send the first resume.

DanTup avatar Nov 21 '19 11:11 DanTup

@grouma it sounds like vscode still doesn't enable the debugger because of this, should we be prioritizing this higher?

jakemac53 avatar Jan 27 '20 15:01 jakemac53

I can likely tackle this next week.

grouma avatar Jan 31 '20 20:01 grouma

Friendly ping! I just re-discovered this while working on some Dart-Code integration tests :-)

(though FWIW, I don't think VS Code is blocking anything on this now - the breakpoints just don't work in startup code.. If I add breakpoints to code that runs later, I can launch and hit them fine from VS Code - albeit it with some other issues I'm fixing).

DanTup avatar Sep 10 '20 14:09 DanTup