I'm using Netbeans and trying to debug Phalcon project using Xdebug debugger. But when in step-by-step mode I pass any of Phalcon classes, then after 1-2 seconds debugger stop working with message "Socket Exception occured". That doesn't happens with pure PHP projects. Also have same problem on PhpStorm, but there dubugging just stops without any message. It seems to me that there is some kind of problems between Phalcon and Xdebug extensions.
Any one have an idia how to fix that?
- PHP: 7.3 (also tried: 7.2)
- Netbeans: 11.0 or PhpStorm 2019.2
- Xdebug: 2.7.2 (also tried: 2.8)
- OS: Windows 10
- Phalcon: 3.4.4 (also tried: 3.2.x)
Small script for testing:
$test = 5; $config = new \Phalcon\Config(['test' => 45]); // <--- After that line debugger stop working $yyy = $config->get('test');