With an experimental feature, ZTools, you can preview local variables for the current Zeppelin session.

To enable ZTools integration, press Ctrl+Alt+S (Windows, Linux) or Cmd+, (macOS), go to Tools | Big Data Tools Connections, choose the target Zeppelin configuration, and select the Enable ZTools Integration (Experimental) checkbox.