title: How to use the green "Attach Debugger" button in Python console using PyCharm
body: <p>I was wondering how to use this green bug button on the left side of Python console. I've been searched official documents but there seems to be no description of this button. Note I am asking the button on the left side, not the button on the right top corner.</p>
  <p>I'm using IPython console and found <code>%debug</code> magic is not available anymore. I'd like to know what's the usage of that button and how to use <code>%debug</code> magic in IPython console.</p>
  <p><a href="https://i.stack.imgur.com/21Vyh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/21Vyh.png" alt="enter image description here" /></a></p>