Here is my debug.bat file which start jBoss in debug mode. It will run
slowly. Just run it in the same circumstances as you would the run.bat file.
In JBuilder, just attach to the hostname and port 1234 (you can change this
to any port number available).
Hope this helps!
Peter.
P.S. I think that running jBoss in debug and JBuilder attaching to it on the
same machine will not work.
-------
@echo off
rem java -DINFO_ALL -jar run.jar
rem java -Djboss.verifier.isEnabled=true -jar run.jar
set CLASSPATH=%CLASSPATH%;run.jar
if not "%TOMCAT_HOME%" == "" if not "%SERVLETAPI_HOME%" == "" goto
gotTomcatHome
goto startJBoss
:gotTomcatHome
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib
set CLASSPATH=%CLASSPATH%;%SERVLETAPI_HOME%\lib\servlet.jar
:startJBoss
java -classpath
"%CLASSPATH%" -Dtomcat.home=%TOMCAT_HOME% -Xdebug -Xnoagent -Djava.compiler=
NONE -Xrunjdwp:transport=dt_socket,server=y org.jboss.Main
pause