# Debug with the booter image To use LLDB with a booter image, such as bootimg.pbn or runelf.pbn, define the LLDB\_HEXAGON\_BOOTER\_PATH environment variable with the complete path to the booter executable. Load the application to debug in LLDB. When you run the program, LLDB launches hexagon- sim with the correct flags to run your application under the booter. For details on how to debug the application, see the booter image documentation. Last Published: Oct 06, 2026 [Previous Topic Source files for the example](https://docs.qualcomm.com/bundle/publicresource/80-N3040-23/topics/script-example.md) [Next Topic Troubleshooting](https://docs.qualcomm.com/bundle/publicresource/80-N3040-23/topics/troubleshooting.md)