简体   繁体   中英

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:

在此处输入图像描述

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

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM