question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

flutter "toggle debug paint" command

See original GitHub issue

Default flutter app template has the following comment:

// Invoke "debug paint" (press "p" in the console where you
// ran "flutter run", or select "Toggle Debug Paint" from the
// Flutter tool window in IntelliJ) to see the wireframe for
// each widget.

It would be nice if Dart-Code would support “debug paint” as well. There are more commands that flutter run supports, but this was the most helpful in my opinion. And “full restart”: #368.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
DanTupcommented, Jul 21, 2017

I’ve added all of the commands I could find in the intelliJ file, will be included in v2.3 (with the exception of opening Observatory timeline, that may or may not be included in 2.3).

0reactions
devoncarewcommented, Jul 21, 2017

No docs as such; the IntelliJ sources will be the best system of record for a bit. You can also skim the flutter repo code, and you should be able to get a list of service protocol extensions from the protocol.

I’ve added all of the commands I could find in the intelliJ file

🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't find Flutter Inspector / Toggle Debug Paint in Visual ...
The command "Flutter: Toggle Debug Paint" was replaced with "Flutter: Inspect Widget" in version 2.17.0 but starting with version 2.24.0 it ...
Read more >
Debugging Commands - Dart Code - Dart & Flutter support for ...
This command toggles debug painting in your Flutter application to help you understand how widgets are laid out on the screen. Flutter: Toggle...
Read more >
Debug toggles like `Toggle Debug Painting` are not restored ...
Go to Flutter Project. Run command Flutter: Toggle Debug Painting; Click restart button in debug toolbar; Run command Flutter: Toggle Debug ...
Read more >
Using the Flutter inspector
To debug a layout issue, run the app in debug mode and open the inspector by ... Toggle the Select Widget Mode button...
Read more >
Can't find Flutter Inspector / Toggle Debug Paint in Visual ...
The command "Flutter: Toggle Debug Paint" was replaced with "Flutter: Inspect Widget" in version 2.17.0 but starting with version 2.24.0 it was also ......
Read more >

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found