# 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:** 30

<div class="post-metadata">

### Author: ![nemanjac](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/nemanjac/32/400_2.png) [@nemanjac](https://community.kinsta.com/u/nemanjac)
#### Post date: [April 7, 2021, 1:54pm UTC](https://community.kinsta.com/t/xdebug-support-php-debugging/71/30 "2021-04-07T13:54:11Z")

</div>

@sonicviz and @jamesgreenblue  
I managed to make it work!

My xdebug.ini looks like this:  
[xdebug]  
zend\_extension=xdebug.so  
xdebug.mode=develop,debug  
xdebug.client\_host=host.docker.internal  
xdebug.client\_port=9003

Then, in my PHPStorm, I have used PHP Web Page template to create a new Debug Configuration.  
Point your server to the domain you are working on  
Default port 80 running Xdebug.

I’m using Chrome with [Xdebug helper - Chrome Web Store](https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc) extension to activate it for the website I’m working on.

For me, it works like charm.

Took me some time to figure it out, but it works.  
Hope it helps!

---

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