title: Unable to debug in pycharm with pytest
body: <p>I cannot <strong>debug</strong> in PyCharm using py.test. All the test suite is running ok in "Debug mode" but it doesn't stop on breakpoints.</p>
  
  <p><a href="https://i.stack.imgur.com/gPHyL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gPHyL.png" alt="Debug Mode"></a></p>
  
  <p>I also have py.test as the default test runner.</p>
  
  <p>Maybe this is not important, but debugging works correctly in my Django server.</p>
  
  <p>Any ideas?</p>
  
  <p><a href="https://i.stack.imgur.com/vP9ou.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vP9ou.png" alt="Configuration"></a>
  <a href="https://i.stack.imgur.com/H4BWP.png" rel="noreferrer">picture of enable_breakpoints_and_the_mode_of_pycharm_is_<strong>debug</strong></a></p>
  
  <p>References:</p>
  
  <p><a href="https://www.jetbrains.com/help/pycharm/2016.1/enabling-disabling-and-removing-breakpoints.html" rel="noreferrer">pycharm-enabling-disabling-and-removing-breakpoints</a></p>
  
  <p><a href="https://www.jetbrains.com/help/pycharm/2016.1/run-debug-configuration-py-test.html" rel="noreferrer">Run/Debug Configuration: py.test</a></p>