is it attempt to hack PhpStorm through debug listener, or what?

1. I'm running PhpStorm. Button "Start Listening for PHP Debug Connections" is enabled. But I'm not running any PHP code yet. Ubuntu ufw rules allow IN connections from 127.0.0.1 only

2. After looking at Event Log of IDE I see the following message: "Cannot accept external Xdebug connection: Cannot evaluate expression 'isset($_SERVER['PHP_IDE_CONFIG'])'" It is shown 6 times, at 16:39, 16:39, 17:09, 17:09, 17:39, 17:39

What does it mean? Is somebody sending connection requests to the port that IDE listens from Internet?

Or it is some internal diagnostic message that tells that nobody is sending connection requests?

2 comments
Comment actions Permalink

I think it's neither one of those.
Most probably, your server runs some PHP script every 10 minutes, and you have xdebug.start_with_request=yes (xdebug.remote_autostart=yes for Xdebug 2) in your interpreter's .ini config.
To check that, you can just disable this parameter (and check that it's disabled via php -i), debug sessions are supposed to stop connecting to PhpStorm after that.

0
Comment actions Permalink

I found the reason. It is job in beanstalkd remained from testing application. It executes each 30 minutes and reruns double on failure. Sorry for bothering all. (Apache is inactive by default on my local computer.)

0

Please sign in to leave a comment.