Some code to get a console into running apps

Runs on localhost. Useful for debugging and exploration.