We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Debugging Error

I am using the latest version of PHPStorm. These are the details for my php: PHP 7.3.3 (cli) (built: Mar 6 2019 21:53:23) ( ZTS MSVC15 (Visual C++ 2017) x64 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies with Xdebug v2.7.0RC2, Copyright (c) 2002-2019, by Derick Rethans

Now it debugs the php fine but as soon as it hits this point: $di = new FactoryDefault();

It immediately exits debug mode and exits out no errors. Has anyone experienced something like this before?

You're running thread safe (TS) version with mod_php (apache2) SAPI?

It must be that it segfaults when you instantiate new DI/IoC, or other common problems with such setup you're using.

Also xdebug with other compiled PHP modules such as phalcon.so do not play nicely.

You only want to setup your dev env or you have specific problem to debug?

It is interesting that I dont have the same issues with this config

PHP 7.2.6 (cli) (built: May 23 2018 20:51:04) ( ZTS MSVC15 (Visual C++ 2017) x86 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Xdebug v2.7.0alpha1, Copyright (c) 2002-2018, by Derick Rethans

Which PhalconPHP version you're using? 3.4.x LTS or 4.0.x alpha release?

In general try to switch to NTS flavor of PHP and see if you can make it work. Also try using a different SAPI - e.g. FPM/FastCGI.

Fun component is, in another controller, I haven't any troubles with binding and executing queries through the modelsManagerguidehttps://forum.phalcon.io/discussion/19255/softdelete-configuration-phalcon-3x. Only variations are column depend and (a ways) much less variable paintings.