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
Debugger fails to launch when launch.json does not exist in Insiders build for Dart Code #43113
Comments
I tried with "All Exceptions" ticked, but it didn't seem to break on anything (even though if I breakpoint |
In your package.json I do not see any debug related activationEvents. |
@weinand No difference (though not all that surprised, the extension was definitely activated already, as I can step through |
Here's our chat on gitter which explains the issue. I have pushed a fix so the error propagets to the user, so this error is not so mysterious Isidor Nikolic @isidorn 21:14 Danny Tuppeny @DanTup 21:14 Isidor Nikolic @isidorn 21:15 Danny Tuppeny @DanTup 21:16 Isidor Nikolic @isidorn 21:18 Danny Tuppeny @DanTup 21:20 Isidor Nikolic @isidorn 21:20 Danny Tuppeny @DanTup 21:22 Isidor Nikolic @isidorn 21:23 |
This might be a bug of mine, but this works in stable, but fails in Insiders.
You'll need a copy of the Dart SDK for the extension to activate correctly. If you don't want to install/add to PATH you can get a Windows zip from here (or others from this page) and then set the
dart.sdkPath
setting to point at the unzipped folder.bin\main.dart
with the following contents:In Stable, after selecting Dart it will create the launch.json (and the pressing F5 again will launch the debugger).
I believe an error is happening after calling my
resolveDebugConfiguration
, the source code for which is at https://github.com/Dart-Code/Dart-Code/blob/5d0c38b1b03d815a2516acfc008f3c7f8a9417b8/src/providers/debug_config_provider.ts#L48@weinand
The text was updated successfully, but these errors were encountered: