This should help you set it up: https://enrise.com/2018/02/debugging-php-with-xdebug/?searchTerm=debug
xdebug is not project specific, but is IDE specific for the setup. xdebug can run against any script you have ;)
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm jumping back into solving problems on https://exercism.io/my/tracks/php each problem comes with a _test.php file you run the test from the command line using phpunit file_test.php everything fails then you write the code to make them pass and submit. What would be great if i could set break points in my php storm so I could step through. All the tutorials ive found are for setting this up for a laravel application on a web server. Does anyone know of a way to set this up for just running a php test script.
This should help you set it up: https://enrise.com/2018/02/debugging-php-with-xdebug/?searchTerm=debug
xdebug is not project specific, but is IDE specific for the setup. xdebug can run against any script you have ;)
Please or to participate in this conversation.