Tuesday, September 09, 2003

More thoughts on debug vs. optimize

I actually thought of a legimate reason not to leave the debug option on during runtime: security. But, I thought if your server is behind a firewall, then this isn't that big of deal. Only if your server is exposed to the outside world. It's a shame they didn't add security to the debug server of Java. But, it's still a good idea to leave debug turned on always for your compiles. Your code is still ready to be debugged when you go want to turn on the debug options on the JVM. There are no security flaws in this, only if you turn debug mode on your server.

No comments: