Use jdb. It is the command-line debugger for Java. It lets your AI agent work directly with the JVM. How to set it up: - Start your app with debugger options. - Attach jdb to the port. - Send commands ...