# Running and Debugging

You may launch your Java programs from the workbench. The programs may be launched in either run or debug mode.

- In run mode, the program executes, but the execution may not be suspended or examined.
- In debug mode, execution may be suspended and resumed, variables may be inspected, and expressions may be evaluated.

Debugger
Remote debugging
Local debugging

Changing debugger launch options
Choosing a JRE for launching a project
Creating a Java scrapbook page
Disconnecting from a VM
Launching a Java program
Local debugging
Preparing to debug
Re-launching a program
Remote debugging
Resuming the execution of suspended threads
Setting execution arguments
Stepping through the execution of a program
Suspending threads

Run Menu
Debug view
Debug Preferences
Console Preferences