jbossas/jboss-as — pull request #2278 by Mogztter (2012-05-09 16:05:03+00:00)
Title: AS7-1459 Add commandline flag to start in debug mode

Add commandline flag to start in debug mode. Usage :
```sh
./bin/standalone.sh --debug 9797 # start in debug with port 9797
./bin/standalone.sh -d # start in debug with default port 8787

/bin/standalone.bat --debug 9797 # start in debug with port 9797
/bin/standalone.bat -d # start in debug with default port 8787
```

By default debug mode is disable.

Tested on Mac OSX 10.6.8 (bash 3.2.48(1)-release) and Windows Server 2008 R2.