This tutorial shows how to install the Java SDK and how to install the Eclipse IDE.
Next to the installation procedure, the tutorial shows and explains how to use the debug feature in Eclipse.
Java can be downloaded here:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eclipse can be downloaded here:
http://www.eclipse.org