Add Java debugging options when debug is enabled by user