Jonah Kornberg
Jonah Kornberg

Reputation: 183

Dart Flutter DevTools "Debugger" Tab not showing up

Hello I'm trying to debug some issues with my app using dart DevTools and I notice that the "debugger" tab is not available to me. Here is a screenshot of what I see in the web debugger:

enter image description here

I notice that this article says I should have the "debugger" tab in the web DevTools: https://dart.dev/tools/dart-devtools

Any advice would be greatly appreciated!

EDIT: I notice I have the debugger when I use AndroidStudio but would like to have it in VisualStudio Code

Upvotes: 6

Views: 2596

Answers (1)

Danny Tuppeny
Danny Tuppeny

Reputation: 42433

This is expected behaviour when running from VS Code, as the VS Code debugger is available instead. There are complications with having two debuggers attached to the same app at the same time (both debuggers expect to control breakpoints and resuming) so it's disabled.

If you really want to try it you could just edit the hide=debugger out of the address, but be aware things might not work correctly (at least until the debuggers are able to work together better to avoid this limitation).

Upvotes: 4

Related Questions