For the complete documentation index, see llms.txt. This page is also available as Markdown.

Debug Ocular Scripts with jdb

The following example shows how you can integrate Ocular for use with the Java Debugger (jdb):

export JAVA_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8002,server=y,suspend=n'
sl ocular

The first line of output is Listening for transport dt_socket at address: 8002. When you see this, you can connect to remote debug with Java Debugger (jdb) or the debugger of your choice, e.g., IntelliJ IDEA.

Last updated

Was this helpful?