如何在Mac上从创意中运行带有调试功能的tomcat,出现错误:
/Users/konrad/Applications/apache-tomcat-9.0.12/bin/catalina.sh run
[2018-10-25 01:56:13,230] Artifact Gradle : com.test : MyService.war: Waiting for server connection to start artifact deployment...
Error occurred during initialization of VM
Could not find agent library jdwp:transport on the library path, with error: dlopen(libjdwp:transport.dylib, 1): image not found
Disconnected from server
VM选项:
-DprofileName=dev -agentlib:jdwp:transport=dt_socket,server=y,address=8000, suspend=n
我在Mac上使用InteliJ
和Tomcat 9
进行调试