I’m trying to run “Debug” (for step-debugging with #Xdebug) in #PhpStorm while running a #Pest test. I do this all the time with standard #PHPUnit tests, and I’ve never had this problem…
The test runner stops immediately, and PhpStorm reports in the debug console, “Test framework quit unexpectedly.”
Has anyone else seen this error? Do you know what causes it?
Did #PhpStorm recently change the way it connects to #Xdebug when executing tests from PhpStorm? I’m no longer able to get the debugger panel to work for a project that I’ve never had a problem using Xdebug in.
Some time ago I had to develop a feature for a Neos CMS project and wanted to use @Xdebug - as I always do it in our @ddev projects. But it turned out to need a bit more configuration.
I finally wrote a blog post about why Neos CMS is different from other PHP software and how I managed to use Xdebug almost the way I'm used to.
Following a request from me and some colleagues, my company is about to become a (hopefully) significant supporter and contributor of @derickr, awesome creator and maintainer of @Xdebug 🥳
As a daily #PHP developer, it's a tool I could not work without, so I'm happy we could do a little bit to help. 💪
Today @Xdebug helped me to locate a bug introduced by a stupid typo by me in a configuration file. My brain parser failed to detect that typo. Nevertheless it took me way too long to eventually hunt down the error.
Big kudos for this great tool! #xdebug
TIL about xrDebug. Am I the only one who finds it weird that someone would create a debugger for #php that uses an extremely minor variation in name of the popular #xDebug extension?
Suddenly VSCode and PHPStorm’s Laravel Tinker stop executing code. CLI still worked fine. After the loss of much hair, I realized I had inadvertently clicked on the itsy bitsy little bug in PHPStorm and had enabled debugging. It was at this point I learned that enabling #xdebug in #PHPStorm also enabled it in #VSCode!
#PHPStorm is a pretty darn good software, but sometimes I lose my nerve on settings and system notices. Especially #xdebug and the "Debug session was finished without being paused" message took me hours to figure out what is going on. "It may be caused by path mappings misconfiguration" is totally misleading. Most of the time it's simply because a breakpoint has been set for a code never been executed. 😞 🙄