title: How to debug a Spring Boot application in Spring Tool Suite
body: <p>I'd like to debug a simple Spring Boot application in Spring Tool Suite. It is a simple restful web service. I wanted to debug the controller and service class with embedded tomcat server. </p>
  
  <p>Found this post <a href="https://stackoverflow.com/questions/13721092/how-to-debug-spring-mvc-application-on-spring-source-tool-suite">how to debug Spring MVC application on Spring Source Tool Suite</a>. I followed the steps:</p>
  
  <ol>
  <li>Select <strong>Window-->Show View--> Servers</strong>.</li>
  <li>Right Click on server in the Servers panel, select "<strong>Debug</strong>".</li>
  <li>Add breakpoints in your code</li>
  <li>Then right click on application, Select <strong>Debug As --> Debug on Server</strong></li>
  </ol>
  
  <p>After the first 2 steps, the output in console shows server has started up. However, I could find option of <strong>Debug on Server</strong> when I right clicked controller class. <em>Application</em> class is the only class that I could debug. However there is no way to "step into" <em>Controller</em> from <em>Application</em>. </p>
  
  <p>Also, when should I launch browser and put in the request url?</p>