You do not normally want to debug generated Java code. SQLJ source files can be debugged like normal Java source files. Setting breakpoints, stepping through source code, and value examination are done the same way as for Java sources.
At present, you cannot set breakpoints at #sql statements.
SQLJ debugging is enabled by default in the SAP NetWeaver Developer Studio.