简体   繁体   中英

IntelliJ - Run External Tool Command in Debug mode

I am new to using IntelliJ, so would appreciate some advise please.

I have set up an External Tool that invokes a script ( build-with-glassfish.bat ). This script performs a few tasks including starting a Payara Server. I can then execute the code that is built on the server (Java) via an Angular client.

Question In IntelliJ, can I start the External Tool that runs the script in DEBUG mode? I would like to add breakpoints and examine the java code.

More info The build-with-glassfish.bat contains the following line, that I am guessing needs to be in debug mode.

echo start up the server as it deploys during the build
call asadmin start-domain domain1

Thanks

This can be debugged by setting up a Remote.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM