How to view shell commands used by eclipse “run configurations”

前端 未结 3 517
梦毁少年i
梦毁少年i 2021-01-31 02:50

Given a \"run configuration\" in Eclipse, I want to print out the associated shell command that would be used to run it.

For example: Right now, in Eclipse, if I click

3条回答
  •  清歌不尽
    2021-01-31 03:39

    This should work for Java and Maven processes. You can get the command line from the Process properties.

    • run the process in debug mode
    • right click on the process item in the "Debug" view and choose "Properties"
    • the command line is displayed

提交回复
热议问题