Enabling debugging in the command line...
This is the syntax of the command:
java -DDEBUG -DDEBUG_PATTERNS=main,org.mortbay.http -DDEBUG_VERBOSE=1 -jar start.jar
you can just add the jetty.xml and the xml configuration file of your webapp(ex. sample.xml) if you have created it separately
you will notice that there is a package to be specified in the command.
this will simply enable TRACE and DEBUG messages for the main thread and from classes in the package that you specified.
thus the full syntax of the command would be like this:
java -DDEBUG -DDEBUG_PATTERNS=main,org.mortbay.jetty -DDEBUG_VERBOSE=1 -jar start.jar etc/jetty.xml etc/sample.xml
and the package indicated is that of org.mortbay.jetty