[chrome devtools docs](https://developers.google.com/web/tools/chrome-devtools/console/utilities) has a good description of how their `inspect` command works. `inspect(object/function)` opens and selects the specified element or object in the appropriate panel: either the Elements panel for DOM elements or the Profiles panel for JavaScript heap objects. From my experience, the feature is very common for devtools extension authors trying to add links in their UI to the elements panel and debugger. I noticed this yesterday because the new react devtools uses this and it _fails_ in Firefox.
Bug 1575240 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
[chrome devtools docs](https://developers.google.com/web/tools/chrome-devtools/console/utilities) has a good description of how their `inspect` command works. `inspect(object/function)` opens and selects the specified element or object in the appropriate panel: either the Elements panel for DOM elements or the Profiles panel for JavaScript heap objects. From my experience, the feature is very common for devtools extension authors trying to add links in their UI to the elements panel and debugger. I noticed this yesterday because the new react devtools uses this and it _fails_ in Firefox. For what it is worth, I believe chrome's `dir(object)` command is equivalent to how we use inspect.