# Xdebug Support: PHP debugging

**URL:** https://community.kinsta.com/t/xdebug-support-php-debugging/71
**Category:** Feature Requests
**Created:** [January 18, 2021, 2:58pm UTC](https://community.kinsta.com/t/xdebug-support-php-debugging/71 "2021-01-18T14:58:26Z")
**Posts on this page:** 1
**Showing post:** 46

<div class="post-metadata">

### Author: ![philippstracker](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/philippstracker/32/638_2.png) [@philippstracker](https://community.kinsta.com/u/philippstracker)
#### Post date: [November 11, 2021, 4:38pm UTC](https://community.kinsta.com/t/xdebug-support-php-debugging/71/46 "2021-11-11T16:38:30Z")

</div>

Hi @robruiz - did you see the guide I’ve posted here?

> [@Guide: How to set up Xdebug (on DevKinsta) with PhpStorm](https://community.kinsta.com/t/guide-how-to-set-up-xdebug-on-devkinsta-with-phpstorm/944):
>
> I’ve struggled a bit with setting up Xdebug + DevKinsta in PhpStorm. So, here is my documentation and guide, which will save you a lot of time. Note: When you see a point_left emoji, you need to customize a value. However, most steps are generic, and you do not need to change anything; just copy-paste what’s in this guide. A. Create a setup script Place the following bash script in your DevKinsta/private folder. Usually, that folder is in your user’s home directory. Name the script setup-x…

I’m not familiar with the dialog in your screenshot. I’ve configured Xdebug via “PhpStorm \> Preferences… \> PHP \> Debug”

Also, I do not use an IDE key, as I enable or disable debugging via the Chrome extension. Generally, the IDE key caused problems for me in the past, so I never use it. I always enable or disable Xdebug in the whole environment instead of using IDE keys/session ids.

Aside from that, I recommend clicking the “Validate” link in your “Pre-configuration” section. Possibly, you will get some additional tips from PhpStorm on what’s failing.

---

_[View the full topic](https://community.kinsta.com/t/xdebug-support-php-debugging/71)._
