Disabling/Commenting out VM Option argument
已回答
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.
请先登录再写评论。
Make a copy of the Run/Debug configuration with this option removed and use Run | Run... to select the one you need before running.
Oh that's true. That'll work. Thanks.