What if I want to debug both asadmin and DAS at the same time? No problem! If you do it often, write a simple script such as: clidebug: java $java_debug -jar your-install/modules/admin-cli-10.0-SNAPSHOT.jar $* set the nasty complicated debug line in your environment:
- export java_debug '-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1322'
- export java_debug_sus '-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1322'
Now you can attach to both asadmin and DAS at the same time: clidebug start-domain -v --debug
|