Skip to content
You are reading Hyperledger Besu development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.
Last update: September 1, 2021

Passing 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 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=rinkeby
Questions or feedback? You can discuss issues and obtain free support on Hyperledger Besu chat channel.
For Hyperledger Besu community support, contact the mailing list