isidorn ยท GitHub

Hi VS Code PM here ๐Ÿ‘‹

  1. Purple no folder VS Code -> create a new dart file
  2. Press F5 -> notice how we offer the user to download your extension ๐Ÿ‘
  3. Now the user presses F5 again and wants to debug, but nothing happens since dart is not supporting no folder debugging

Easiest to do this is to have a dynamic resolveDebugConfiguartion that will provide a launch configuration on the fly. Example

Apart from that consider contributing to the Editor title area menu, such that a Play button would appear in the Editor Title area (picture below). Example how to do this https://github.com/microsoft/vscode-mock-debug/blob/main/package.json#L80

I think both of these are super important and would really love that we improve this experience ๐Ÿ’ฏ
I see how you are currently relying on being in a folder and generating a launch.json, but hopefully we should be able to simplify that even further.

Let me know if I can help somehow. I am also open to a quick 30 min meeting where we can discuss about the new cool VS Code debug features that dart could potentially adopt.

fyi @DanTup

Read the original on github.com โ†—