David
David
You should take a look at the existing adapters they are all implemented here https://github.com/daveleroy/sublime_debugger/tree/master/modules/adapters Someone else was asking about dart/flutter awhile ago and I created this branch https://github.com/daveleroy/sublime_debugger/tree/dart which...
Interesting I don't think any of this existed when I initially looked into it (maybe a year ago?). Dart now official supports it as well https://github.com/dart-lang/sdk/tree/main/pkg/dds/tool/dap Both of these look...
That exception is unrelated "Unable to restart debugging. Please try ending the debug session and starting again." is from the dart adapter so there is probably some issue with the...
You might just need to update flutter. Both `dart debug-adapter` and `flutter debug-adapter` seem to start the debug adapter process for me (I downloaded the latest flutter version last night)....
Actually it might not be the version the command should be `flutter debug_adapter` not `flutter debug-adapter`
I updated the dart adapter to use `dart debug_adapter` and it seems to be working for me https://github.com/daveleroy/sublime_debugger/commit/89c481fbde5780dffbe7249dab4f3384ecd57b71 It required a small change to the transport protocol https://github.com/daveleroy/sublime_debugger/commit/a3ee3e3de654883ecbc017a735905bc18e096823 described here...
Sorry I missed this. If you right click on the debugger panel and select `Show Protocol` you can see what parsed messages were passed back and forth between the debugger...
@kennethnym assuming you are on Windows you can try increasing the hardcoded value here https://github.com/daveleroy/sublime_debugger/blob/8f8bbd3273a77ff8b3c4fb09526bac7ef29c0d80/modules/ui/layout_view.py#L153 If you have a value that works for you let me know what it is...
`$file` is probably empty did you save the file? If you give the python adapter an empty string the adapter starts but never begins debugging
If you have the code locally you can't change `should_log_info` to `True` in https://github.com/daveleroy/sublime_debugger/blob/master/modules/core/log.py (this should be toggle-able from the settings I just haven't got to it) That will log...