Remote debugging of resin container under intellij idea

resin remote debugging (I am using resin-4.0.41 version):
Step 1:    Add configuration content
   to the configuration file conf/resin.xml under the container :          <jvm-arg>-Xdebug</jvm-arg>          <jvm-arg >-Xnoagent</jvm-arg>          <jvm-arg>-Djava.compiler=NONE</jvm-arg>          <jvm-arg>             -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9998          < The location of /jvm-arg>    is shown in the figure (behind the http port): Step 2: Configure intellij idea resin (I am using the 11 version of the editor) and select the remote of resin; server configuration: Deployment configuration: Startup/Connection configuration:




















 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326422619&siteId=291194637