You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However if there is no launch.json, then Start -> Start Debugging does nothing (it doesn't even show a message to indicate why).
In VS Code, when there's no launch.json, VS Code will use the open file to decide which debugger to use (and if there's no open file, it will prompt the user to pick from a list of all debuggers). This is generally how we encourage Dart/Flutter users to run (only creating a launch.json if they need to customise something).
The text was updated successfully, but these errors were encountered:
Ok great. FWIW, VS Code doesn't just create a launch.json, it can launch without one (which is preferred, because otherwise people have to maintain it). Whether it creates one depends on the return value from resolveDebugConfiguration (null causes launch.json to be created and opened, undefined is silent, and anything else will launch - see https://github.com/Dart-Code/Dart-Code/blob/master/src/extension/providers/debug_config_provider.ts#L101 and other return statements in there).
If I create a
.dart
file and install the Dart extension, I can debug it if I create alaunch.json
file like this:However if there is no launch.json, then Start -> Start Debugging does nothing (it doesn't even show a message to indicate why).
In VS Code, when there's no launch.json, VS Code will use the open file to decide which debugger to use (and if there's no open file, it will prompt the user to pick from a list of all debuggers). This is generally how we encourage Dart/Flutter users to run (only creating a launch.json if they need to customise something).
The text was updated successfully, but these errors were encountered: