I have started using PhpStorm to develop a Drupal module. I had debug working well till a few days ago when I recieved a message "Debug session was finished without being paused" I clicked on break at first line and after that it started breaking at the index page first line. This is annoying so I tried to stop it via Run|stop at first line however this did not work, the tick disappeared but it still stopped at the index page. I did a search to see if I could fix this and I found a post suggesting turning it of at Settings | Languages & Frameworks | PHP | Debug
so I turned it of there which stopped the break at index. However I had problems with stopping at breakpoints so I set it back again.
Now I am completley lost it stops at index but wont stop on my breakpoints.
How do I fix this?