title: How to specify com.google.gwt.dev.DevMode as the main class automatically when debug gwt code
body: <p>when I debug my gwt application code using google eclipse plugin via</p>
  
  <p>selected gwt module->debug as->web application, </p>
  
  <p>the generated debug configuration always use <strong>com.google.gwt.dev.GWTShell</strong> as the main class. This makes my debug failed as <strong>GWTShell</strong> is a deprecated class (<a href="https://stackoverflow.com/questions/16086947/gwt-program-not-running">GWT program not running</a>). </p>
  
  <p>Now I have to manually change the main class to <strong>com.google.gwt.dev.DevMode</strong> in the "debug configurations" again and again whenever I need to debug.</p>
  
  <p>I would like to know how to make google eclipse plugin set the correct main class <strong>DevMode</strong> automatically.</p>
  
  <p>I am using Eclipse J2EE 4.3.2 Kepler and the gwt sdk is version 2.6.0.</p>
  
  <p>thanks!</p>