According to "java - the Java application launcher", in the JDK1.5 documentation, XDebug is a non-standard option:
Start with support for JVMDI enabled. JVMDI has been deprecated and is not used for debugging in J2SE 5.0, so this option isn't needed for debugging in J2SE 5.0.
JVMDI is deprecated as of J2SE 5.0. JVMTI should be used instead.
For traces during the execution, some clues are in the question "Can I force generation of a JVM crash log file?", but mostly for JDK1.6.
For 1.5, those troubleshooting tools might be useful.