Debug Gnome Shell, or run it from the console, either for plugin development or troubleshooting.
Switch to the console using
Ctrl Alt F1
Type "w" to find your display (usually it's
Export your display (usually with
Restart gnome shell from the console by typing
Go back to your display using
Ctrl Alt F7
This method is based, with permission, on an original protocol available here.