Installers can be debugged using remote debugging:
- Place a breakpoint in com.izforge.izpack.installer.bootstrap.Installer.main(String args)
- Run the command with the appropriate debug agent settings
- Attach to the process in the debugger
The above specifies to suspend execution of the installer until the debugger attaches on port 5005.
This is required as the installer relaunches itself if elevated permissions are needed.
You can get a extended log from the installer by setting the java property DEBUG=TRUE
IntelliJ IDEA - Run/Debug Configuration: Remote