 diff --git a/browser/devtools/webconsole/GcliCommands.jsm b/browser/devtools/webconsole/GcliCommands.jsm
 --- a/browser/devtools/webconsole/GcliCommands.jsm
 +++ b/browser/devtools/webconsole/GcliCommands.jsm
-@@ -117,3 +117,24 @@ gcli.addCommand({
+@@ -117,3 +117,25 @@ gcli.addCommand({
    }
  });
  

+  ],
+  exec: function Command_inspect(args, context) {
+    let hud = HUDService.getHudReferenceById(context.environment.hudId);
+    hud.chromeWindow.InspectorUI.openInspectorUI(args.node);
+  }
+});
diff --git a/browser/devtools/webconsole/gcli.jsm b/browser/devtools/webconsole/gcli.jsm

new file mode 100644
--- /dev/null
+++ b/browser/devtools/webconsole/test/browser/browser_gcli_inspect.js
@@ -0,0 +1,93 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
