# How do I make Xdebug work in PhpStorm?

**URL:** <https://community.localwp.com/t/how-do-i-make-xdebug-work-in-phpstorm/42921>\
**Category:** Support\
**Tags:** mac\
**Created:** [May 17, 2024, 11:41am UTC](https://community.localwp.com/t/how-do-i-make-xdebug-work-in-phpstorm/42921 "2024-05-17T11:41:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [May 20, 2024, 7:02am UTC](https://community.localwp.com/t/how-do-i-make-xdebug-work-in-phpstorm/42921/3 "2024-05-20T07:02:53Z")

</div>

Hi, @abdnafees. It’s worth trying the steps in the answer I gave here with a fresh site:

> [@Debugger not breaking at breakpoints](https://community.localwp.com/t/debugger-not-breaking-at-breakpoints/37920/3):
>
> Thanks for the report and screenshots, @tonicboy. I’m not sure why PhpStorm is not intercepting requests in this case, but perhaps you could try using Xdebug without the Xdebug + PhpStorm add-on, its custom run configuration, or any adjustments to your Xdebug config: Create a fresh Local site using “Preferred” settings and enable the Xdebug switch in Local. Open the site’s app/public folder in PhpStorm. (Not the site root folder above those.) In PhpStorm, visit Settings → PHP → Debug, untick …

---

_[View the full topic](https://community.localwp.com/t/how-do-i-make-xdebug-work-in-phpstorm/42921)._
