In apache-servicemix-6.0.0, I try to modify smx.bat to remote debug by changing suspend=y as in
It did not work and found that KARAF_DEBUG was always blank which skipped setting the JAVA_DEBUG_OPTS to JAVA_OPTS. I was able to debug only after commenting the below check.
//if "%KARAF_DEBUG%" == "" goto :KARAF_DEBUG_END
Am I missing some patch which is already done for this?