You could use javaOpts:
That looks like an option.. but is not working with wildfly:run..
should I see something in the output related with the port being registered or something? I was trying to attach a debugger while running with those configurations and I'm keep getting Connection Refused.
Ah sorry, I was using 1.1.0.Alpha2, not 1.0.2.Final. Try this instead:
Yes the <javaOpt/> wasn't added until 1.1.0. You'd need to use the jvmArgs like Gytis describes.
James R. Perkins