title: Can I make Python console of PyCharm access debugging context?
body: <p>I would like to execute arbitrary Python commands in Python console so that they can access current local (and global, any) variables of function during debugging process, like in Matlab debugging.</p>
  
  <p>Is it possible in Python?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I don't have button described by @nanotek</p>
  
  <p><a href="https://i.stack.imgur.com/13h9r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/13h9r.png" alt="enter image description here"></a></p>
  
  <p>Highlighted button, located in the same place does the opposite thing: it dispays console variables. As you see, console doesn't see <code>found_features</code> variable, which is in currently traced program above.</p>