title: Intellij - How to edit JVM command line arguments for remote debugging
body: <p>I want to use a custom class loader which supports hot-swapping (DCEVM). I've set up a remote debug configuration. To enable the classloader, I have to edit a command line, as described here: <a href="https://github.com/HotswapProjects/HotswapAgent" rel="nofollow noreferrer">https://github.com/HotswapProjects/HotswapAgent</a> </p>
  
  <pre><code>-XXaltjvm=dcevm -javaagent:PATH_TO_AGENT\hotswap-agent.jar
  </code></pre>
  
  <p>The problem is that the <strong>"command line arguments for running remote JVM" textbox in IntelliJ is read-only</strong>. Is it possible to somehow override the command line? I tried to inject those arguments in a "Port" textbox but it seems that it's validated...</p>
  
  <p>I use IntelliJ 2017.1 Community Edition.</p>
  
  <p>The question appeared in comments to  <a href="https://stackoverflow.com/questions/21114066/attach-intellij-idea-debugger-to-a-running-java-process/30793101">Attach Intellij-IDEA debugger to a running java process</a>, but remained unanswered.</p>