I am trying to debug one php file with PHPStorm. XDebug already configured, and proven working with Netbeans. When I try to run the debug mode, I almost immediately get the 'Debug connection was not established' error. I tried to run it in cli with the 'listen to incoming debug connections' as well , but then PHPStorm replies with 'Cannot accept external XDebug connection, cannot evaluate expression $_SERVER['SERVER_PORT']. I am on a mac with php 5.3.2, xdebug 2.1.0 with the following config:
Does anyone have any advice for these issues?