I have an existing maven/war project that hosts some REST endpoints, and uses JPA.
I am currently running the war file in a full payara server using the Glassfish Server configuration. This plugin doesn't seem appropriate for Payara Micro, which just runs from a downloaded jar file.
I am experimenting with using Payara Micro, which executes from the command line as follows:
`java -jar payara-micro-5.182.jar --deploy c:\path\pcc.war`
This is working well, but I want to execute and debug the "command line" payara application.
What is the correct way to setup a Run/Debug configuration in InteliJ IDEA for Payara Micro?
(at some point I will be using docker, but for now, just a regular Run/Debug configuration is what I need)