ember-inspector
ember-inspector copied to clipboard
Inspector crashes with Embroider built application
Describe the bug
Stock install from ember new test-app --embroider makes the inspector crash internally
To Reproduce
- Create a new application and serve it
- Open the inspector; it says the application was not found. The console logs exceptions not caught (
Uncaught TypeError: run is undefined).
Expected behavior The inspector should correctly load
Environment
ember -v:
ember-cli: 3.28.1 node: 14.17.3 os: linux x64
uname -a:
Linux excelsior 5.11.0-37-generic #41-Ubuntu SMP Mon Sep 20 16:39:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Firefox 93.0
Additional context With broccoli the inspector works ok, but logs lots of deprecations. Logs of a fresh install for both build systems are included:
Just ran across this, a rough workaround I've found for Chrome has been
- close dev tools
- reload page
- open dev tools
- switch to Ember dev tools and they should be working
@ef4 @chancancode do we need to do anything special to support embroider?