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
I've noticed that the debugger is attached when running FlutterRun (with debugger enabled in my config) and also the dap windows are visible. Is that the intended behavior? There's also a FlutterDebug command.
Expected Behavior
Running FlutterRun should not attach debugger
Running FlutterDebug should start the debugger
Although it may seem strange, this behavior is intentional. FlutterDebug was added recently, but to avoid breaking existing users, the old behavior was left unchanged. This means that FlutterRun responds to the debugger.enabled flag: if it is set to true, it runs in debug mode.
In contrast, FlutterDebug does not respond to this flag — it always attaches DAP. If you do not want FlutterRun to attach DAP, you can set debugger.enabled to false.
There was a small error that prevented FlutterDebug from starting in debug mode, but that should now be fixed.
Ok thanks, this makes sense. I had actually some issues with starting the debugger with <space>dc for run/continue debugger (default nvim-dap keymappings). I had to start the first debug session with the FlutterDebug command, after that I could start new sessions with <space>dc where the configuration window (launch/connect flutter) also popped up.
Is there an existing issue for this?
Current Behavior
Hi! Nice Plugin.
I've noticed that the debugger is attached when running FlutterRun (with debugger enabled in my config) and also the dap windows are visible. Is that the intended behavior? There's also a FlutterDebug command.
Expected Behavior
Running FlutterRun should not attach debugger
Running FlutterDebug should start the debugger
Steps To Reproduce
0.10.4
The text was updated successfully, but these errors were encountered: