I've never programmed applets, but I do know that they run in the JVM of the browser on the client side.
So system.out.println would always go to the client, not the server-side.
If you only mean 'how to debug', isn't there a
java console in most browsers? Would it appear there?