First of all let me welcome you. I'm new to the forums.
I'm using Mac osx Mountain Lion, and MAMP Pro.
MAMP Pro is using PHP 5.4.10. I have the following lines in by php.ini regarding Xdebug, and phpinfo() shows, that xdebug is enabled.
xdebug.profiler_enable = 0
xdebug.profiler_output_dir = "/tmp"
Recently I've tried to install PEAR and phpunit and phpcs ( CodeSniffer ) for IntelliJ. But this somehow introduced an issue in debugging.
Now image that I'm starting my computer. Running PHPStorm and MAMP and enable listening to xdebug incoming connections. From my terminal I'm running phpcs, and PHPStorm catches this connection to debug phpcs, which is strange.
I stop the debug process.
I put breakpoint in the code and open my page defined as local.myapp.com. PHPStorm correctly catches the breakpoint and I can debug the app. I stop the debug process and refresh the page.
Now everything is freezed. The page does not load, debugger in PHPStorm says that I'm disconnected. Nothing really happens.
As soon as I disable listening to php debg connections everything is fine. The page works as expected.
To be able to debug again I need to restart my computer.
Then I can do debug one time and the situation repeats itself.
If you need anything from me please let me know.
I don't know what may be necessary for you to help me, but your help would be grately appreciated.