Looking Glass is GNOME Shell's integrated inspector tool and JavaScript console useful for debugging.
Open the run prompt by pressing Alt+F2
Enter lg
to start Looking Glass
Commands can be entered directly at the prompt e.g. global.get_window_actors()
Exit at any time by pressing Esc