I doubt that you’ll have much luck. Observable checks the required dependencies statically and constructs a wrapper around your cell code. If you don’t explicitely access a cell value, it won’t be available.
I’d recommend to add a debugger statement to any cell that contains references, and inspect the transpiled code in your browser’s dev tools.
If you want to go fully meta and experimental, have a look at
This notebook is based on a hack that @bgchen mentioned to me () and of course absolutely not recommended.