I have an application which runs different tasks. It would make debugging much simpler, if I could open a repl inside of the running application. I like to be able to inspect, start/stop tasks, add items to core.async channels… simply control the running application “from inside” using a repl.
How is it possible to reach? I tried to follow https://github.com/clojure/tools.nrepl/blob/master/README.md#embedding-nrepl-starting-a-server, but I could not reach vars defined in the application.
Can you point me to a working example, where in app repl is used?