Pass JVM options
To perform tasks such as attaching a debugger or configuring the garbage collector, pass JVM options to Hyperledger Besu.
Besu passes the contents of the
BESU_OPTS environment variable to the JVM. Set standard JVM options in the
For Bash-based executions, you can set the variable for only the scope of the program execution by setting it before starting Besu.
BESU_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 \ besu --network=goerli