# xDebug + VSCode - breakpoints not hit when debugging

**URL:** <https://community.localwp.com/t/xdebug-vscode-breakpoints-not-hit-when-debugging/26652>\
**Category:** Xdebug + VS Code\
**Created:** [July 20, 2021, 5:21am UTC](https://community.localwp.com/t/xdebug-vscode-breakpoints-not-hit-when-debugging/26652 "2021-07-20T05:21:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![afragen](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/afragen/32/31_2.png) [@afragen](https://community.localwp.com/u/afragen)\
**Post date:** [July 28, 2021, 2:48am UTC](https://community.localwp.com/t/xdebug-vscode-breakpoints-not-hit-when-debugging/26652/6 "2021-07-28T02:48:44Z")

</div>

PHP 8 includes xDebug 3.0 which requires the port change to 9003

> **[Install PHP 8](https://community.localwp.com/t/install-php-8/22673/8)**
>
> Also xdebug.start\_with\_request=trigger is more appropriate as running the step debugger even when it is not activated in the IDE will generate warnings. In summary, what seems to work consistently is if I change the php.ini.hbs file inside of...

---

_[View the full topic](https://community.localwp.com/t/xdebug-vscode-breakpoints-not-hit-when-debugging/26652)._
