title: Remote Debugging in SAP Cloud Foundry
body: <p>I am wondering how to remote debug a S4SDK/Spring 2.0.6 Java Application deployed in SAP Cloud Foundry.</p>
  
  <p>I am using Eclipse (Spring Tool Suite) and started the app in Debug Mode. The application will be restarted with the following environment variable: -Dspring.devtools.remote.secret=secret -Xdebug -Xrunjdwp:server=y,transport=dt_socket,suspend=n,address=47822 </p>
  
  <p>The console output shows, that after startup an SSH tunnel has automatically been created successfully (as a prerequisite I have enabled SSH using cf enable-ssh).  and 'Successful remote access by 10.0.136.5:34858'.</p>
  
  <p>After a few seconds, eclipse shows the message "Failed to connect to remote VM".</p>
  
  <p><strong>How to enable remote debugging?</strong></p>