java,eclipse,jetty

1. Add a debug project project

  Open Maven Build, select Source, the default display is as follows:



select add, add a debug project





2. Enable the debugging parameters of MAVEN_OPTS The
configuration is as follows: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n, The address=1066
Eclipse configuration is as follows:



Guess you like

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