简体   繁体   中英

Where do you put -Dvar=value arguments in Eclipse debug configurations?

Title pretty much says it all. I'm moving to a new computer setup and I have to run an Eclipse configuration with a -Dvar=value argument. I forget where to put this in Eclipse. The debug configuration arguments tab doesn't seem to be the right place.

What are these parameters called and where do I enter them in a debug configuration?

This is simple: just follow the "red color"

下箭头

争论

创建启动配置,转到“参数”选项卡,然后在“ VM参数”字段中输入它们

It is the right place. You have to put them inside the VM arguments text area.

Select from main menu Run/Debug Configurations, then choose your debug configuration or create new. Select tab "Arguments" and add your -D... to "VM arguments" text area.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM