# PhpStorm Xdebug troubles since 5.7.5

**URL:** <https://community.localwp.com/t/phpstorm-xdebug-troubles-since-5-7-5/22263>\
**Category:** Support\
**Tags:** phpstorm, xdebug, linux\
**Created:** [September 28, 2020, 3:07pm UTC](https://community.localwp.com/t/phpstorm-xdebug-troubles-since-5-7-5/22263 "2020-09-28T15:07:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chillbram](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@chillbram](https://community.localwp.com/u/chillbram)\
**Post date:** [September 28, 2020, 3:07pm UTC](https://community.localwp.com/t/phpstorm-xdebug-troubles-since-5-7-5/22263/1 "2020-09-28T15:07:14Z")

</div>

Since updating to 5.7.5 on Linux, the debugger in PhpStorm halts on the newly added local-bootstrap.php (which only contains the line ‘define( ‘WP\_ENVIRONMENT\_TYPE’, ‘local’ );’). This might have to do with the file sitting outside the project scope, but I’m unsure what would cause this behaviour. There are definitely no breakpoints.

To actually get to a page I can force it by pressing resume multiple times, as the code seems to be running multiple times before a page load. I have been able to “solve” this issue by adding the file to the “Skipped Paths” in the PhpStorm settings, but this seems like something that should be fixed in the software itself.

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [September 28, 2020, 4:58pm UTC](https://community.localwp.com/t/phpstorm-xdebug-troubles-since-5-7-5/22263/2 "2020-09-28T16:58:28Z")

</div>

Hey @chillbram, Welcome to the Local Community Forums!

This is due to a recent improvement to Local so that it can make use of WordPress’ “Site Environment Types.”

You should be able to adjust some settings within PHPStorm.

See this forum topic for more info:

> **[Local-bootstrap.php is triggering a breakpoint when XDebug is enabled](https://community.localwp.com/t/local-bootstrap-php-is-triggering-a-breakpoint-when-xdebug-is-enabled/22229)**
>
> I just wanted to post a solution to this issue in case anyone else is using PHPStorm and experiences it. What’s happening is that after the latest update to Local (5.7.5+4909) there is now a file that Local is using that is outside the WP...

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 30, 2020, 4:58am UTC](https://community.localwp.com/t/phpstorm-xdebug-troubles-since-5-7-5/22263/3 "2020-09-30T04:58:33Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
