Pass JVM options
To perform tasks such as attaching a debugger or configuring the garbage collector, pass Java Virtual Machine (JVM) options to Hyperledger Besu.
Besu passes the contents of the BESU_OPTS
environment variable to the JVM. Set standard JVM options in the BESU_OPTS
variable.
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