I have a project which runs correctly under the terminal command
mvn package exec:java -Dplatform.dependencies -Dexec.mainClass=Demo
Now, I need to debug it correctly (not terminal) with IntelliJ or Eclipse on Mac (preferably IntelliJ) but I have tried setting VM options in various places and nothing seems to work.
Where is the correct place to put these options: -Dplatform.dependencies -Dexec.mainClass=Demo?