title: How do I switch Tomcat profile in Intellij Run Configuration?
body: <p>I imported a project with two profiles, dev and sit. When I run this project under local Tomcat server, it directly uses sit profile. </p>
  
  <p><a href="https://i.stack.imgur.com/SKEjJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SKEjJ.png" alt="enter image description here"></a></p>
  
  <p>My Run Configuration in Intellij is shown as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/b1Q9C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b1Q9C.png" alt="enter image description here"></a></p>
  
  <p>How do I switch to dev profile in Intellij?</p>