The way I've typically gone about debugging a JWS app is to run it as a local application until I'm fairly certain it's working right and then deploying it to
test it via JNLP. If you're doing it with a local server, that shouldn't take too much time to go back and forth as necessary.