title: Could not find agent library jdwp:transport on the library path
body: <p>How to run tomcat with debug from idea on mac, getting error:</p>
  
  <pre><code>/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
  </code></pre>
  
  <p><strong>VM options</strong>:
  <code>-DprofileName=dev -agentlib:jdwp:transport=dt_socket,server=y,address=8000, suspend=n</code></p>
  
  <p>I'm using <code>InteliJ</code> and <code>Tomcat 9</code> with debug on Mac</p>