(Eclipse) Launch配置是否只能存在于一种模式下? 运行 还是调试?

(Eclipse) Can a Launch configuration exist only in one mode? Either Run or Debug?

有没有办法让 Eclipse 启动配置存在于一种模式中? 运行 - 或 Debugmode。到目前为止,我只看到了这种镜像行为,如果我在 运行 配置 菜单(在 Eclipse 中)中创建启动配置,它也会在调试配置菜单。

简短的回答是肯定的。查看 "Remote Java Application" 的调试配置。它在 运行 模式下不可用。

启动配置支持的模式由具有启动配置类型扩展点的插件定义。 参见 Adding launchers to the platform

是的,但这不是用户可以控制的。创建启动配置类型的插件提供者可以决定它是 运行、Debug 还是两者。

另见 http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fdebug_launch_adding.htm