- Notifications
You must be signed in to change notification settings - Fork292
Adds an Ember tab to the browser's Developer Tools that allows you to inspect Ember objects in your application.
License
emberjs/ember-inspector
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Adds an Ember tab to the browser's Developer Tools that allows you to inspectEmber objects in your application.
Install the extension from theChrome Web Store.
OR:
- Clone the repository
- cd into the repo directory
- run
pnpm add -g ember-cli - run
pnpm install - run
pnpm buildto build thedistdirectory - Visit
chrome://extensionsin Chrome - Make sure
Developer modeis checked - Click on 'Load unpacked extension...'
- Choose the
dist/chromefolder in the cloned repo - Close and re-open developer tools if it's already open
Install theFirefox addon.
OR:
- Clone the repository
- cd into the repo directory
- run
pnpm add -g ember-cli - run
pnpm install - run
pnpm buildto build thedistdirectory - Visit
about:debugging#/runtime/this-firefoxin Firefox - Click on 'Load Temporary Add-on…'
- Choose the
dist/firefox/manifest.jsonfile in the cloned repo
- Clone the repository
- cd into the repo directory
- run
pnpm add -g ember-cli - run
pnpm install - run
pnpm buildto build thedistdirectory - Visit
chrome://extensionsin Opera - Make sure
Developer modeis checked - Click on 'Load unpacked extension...'
- Choose the
dist/chromefolder in the cloned repo - Close and re-open developer tools if it's already open
#"auto">Internet explorer will open an iframe instead of a popup due to the lack of support for cross-origin messaging.For development:
- In a terminal:
- run
pnpm serve:bookmarklet
- run
- In your browser:
- If Ember Inspector is installed as an active extension, deactivate it
- Visit the Ember app you want to inspect
- Open the developer tool console and execute the following (make sure you unblock the popup when you run the bookmarklet):
#"auto">Or to do this more easily in the future, create a new bookmark in your browser, and copy the above script as the URL.The expected behavior is a new window opening with the URL
http://localhost:9191/bookmarklet/<pane-root>/index.html?inspectedWindowURL=<inspected-app-url>, running your local ember-inspector. The content should be the same as the one you see when using the published extension, but not properly styled.If your Ember app is running on Vite, you may need@embroider/legacy-inspector-support to get things working in your app.
The Ember Inspector uses window messages, so if you are using window messages in your application code, make sure youverify the sender and add checks to your event listener so as not to conflict with the inspector's messages.
Want to work on inspector? SeeDEVELOPMENT.md
About
Adds an Ember tab to the browser's Developer Tools that allows you to inspect Ember objects in your application.
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.