# Local debugging

The Java debugger has a client/server design so that it can be used to debug programs that run locally (on the same workstation as the debugger) or remotely (on another computer on the network).

Local debugging is the simplest and most common kind of debugging. After you have finished editing and building your Java program, you can launch the program on your workstation using the Run > Debug... menu item on the workbench. Launching the program in this way will establish a connection between the debugger client and the Java program that you are launching. You may then use breakpoints, stepping, or expression evaluation to debug your program.

Breakpoints

Adding breakpoints
Resuming the execution of suspended threads
Running and debugging
Suspending threads

Debug preferences
Debug view
Run and debug actions