Disabling/Commenting out VM Option argument

Answered

Is it possible to temporarily ignore a jvm argument added to the Run Config VM Options? If so, how? I haven't found anything that works.

 

For example, if i have an argument like:

-Dcommon.properties=${CONFIG}\env\common.properties

And instead of removing this prior to starting my server, I just want it to be ignored/skipped. I was thinking something like adding a '#' or '//' to the beginning of the line, but none of that appears to work.

0
2 comments

Make a copy of the Run/Debug configuration with this option removed and use Run | Run... to select the one you need before running.

1

Oh that's true. That'll work. Thanks.

0

Please sign in to leave a comment.