# Using XDebug with PHPUnit in PHPStorm

DevFeed: [Using XDebug with PHPUnit in PHPStorm](<https://devfeed.tech/articles/using-xdebug-with-phpunit-in-phpstorm-39021.md>)

Original publisher: [Read original article](<https://blog.jgrossi.com/2018/using-xdebug-with-phpunit-in-phpstorm/>)

Author: Junior Grossi

Published: 2018-02-16T17:00:51Z

Content type: tutorial

Language: en

Sources: [Junior Grossi](<https://devfeed.tech/sources/junior-grossi.md>)

Topics: [phpstorm](<https://devfeed.tech/topics/phpstorm.md>), [PHPUnit](<https://devfeed.tech/topics/phpunit.md>), [debug](<https://devfeed.tech/topics/debug.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [PHP](<https://devfeed.tech/topics/php.md>)

Tags: [command-line](<https://devfeed.tech/tags/command-line.md>), [configure](<https://devfeed.tech/tags/configure.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [php](<https://devfeed.tech/tags/php.md>), [phpstorm](<https://devfeed.tech/tags/phpstorm.md>), [phpunit](<https://devfeed.tech/tags/phpunit.md>), [tdd](<https://devfeed.tech/tags/tdd.md>), [xdebug](<https://devfeed.tech/tags/xdebug.md>)

## AI overview

A tutorial on configuring XDebug and PHPUnit in PHPStorm, including PHP settings, test configurations, running test suites, and debugging individual tests. It uses tests from the open-source Corcel project as an example.

## Source excerpt

Learn how to configure XDebug and PHPUnit in PHPStorm, allowing you to write better tests and fix bugs faster. Test Driven Development (TDD) is an old topic, I know, but it seems many people don't understand how it makes you write better code. The point here is that one of the most important benefits it's ... Continue reading Using XDebug with PHPUnit in PHPStorm