Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting auto restart property in Remote RunConfiguration #84

Open
jakubzytka opened this issue Jul 3, 2019 · 1 comment
Open

Comments

@jakubzytka
Copy link

jakubzytka commented Jul 3, 2019

Example run configuration created with gradle-idea-ext-plugin, as seen in workspace.xml:

<configuration name="Bond, James Bond" type="Remote">
      <option name="USE_SOCKET_TRANSPORT" value="true" />
      <option name="SERVER_MODE" value="true" />
      <option name="SHMEM_ADDRESS" value="javadebug" />
      <option name="HOST" value="localhost" />
      <option name="PORT" value="5006" />
      <option name="AUTO_RESTART" value="false" />
      <method v="2" />
    </configuration>

I don't think there is a way to set AUTO_RESTART to true when using the plugin.

Is there a workaround better than modifying xml post factum?
Is it possible to resolve this by contributing to open-source or are also any changes in IDEA needed?

@jakubzytka
Copy link
Author

It seems that changes in IDEA's JavaRemoteDebugRunConfigurationImporter would be needed apart from modification in the plugin.
That essentially answers all my questions.

@nskvortsov nskvortsov changed the title Remote RunConfiguration doesn't allow setting auto restart property Allow setting auto restart property in Remote RunConfiguration Oct 17, 2019
@nskvortsov nskvortsov reopened this Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants