9

Today was the first day I came across this issue with flutter widget inspector. When you click "Select Widget Mode" then select an element, it will freeze, and this inception-like view will occur: enter image description here

In addition, if you just resize this window in Visual Studio code, the Widget Inspector view goes blank:

enter image description here

I've almost lost an entire day of development because of this stupid bug.

I have a feeling something got updated automatically and broke things. Does anyone have any idea why this is occurring? It was working so well then all the sudden today it decided to break.

Josh O'Connor
  • 4,694
  • 7
  • 54
  • 98

1 Answers1

7

I ran into this issue and did some research. There appears to be some bug reports around this.

This will require a new release of DevTools. Until this happens you can add the following to your VS Code settings.json.

"dart.embedDevTools": false,

This will open DevTools, from VS Code, in your browser.

Patrick Wolf
  • 1,329
  • 11
  • 28
  • 1
    This works great in the meantime and thanks for the issue links. Just an FYI to others that your browser will prompt you to allow it fall back to a previous version that doesn't use WebGL. You'll need to allow that or you'll run into the same issues in the browser. – RogerTheShrubber Jan 11 '21 at 15:26