title: debug an evaluate expression on intellij
body: <p>Using evaluate expression/code fragment:</p>
  
  <p><a href="https://www.jetbrains.com/idea/help/evaluating-expressions.html" rel="noreferrer">https://www.jetbrains.com/idea/help/evaluating-expressions.html</a></p>
  
  <p>Is it possible to debug evaluated expression/code fragment on intellij?.</p>
  
  <p>On eclipse if you launch a code evaluation on display window and that code has any breakpoint inside, eclipse debugger stops on that breakpoint. If you try again eclipse says it can execute inspections on nested debug session.</p>
  
  <p>Intellij seems to launch expression in a different session.</p>
  
  <p>My workflow on this is to stop on "whatever line" of code and add fragment I want to evaluate for a Q&amp;D debug. Many times this leads to a debug restart.</p>