# Xdebug only triggers when site is restarted and Local app's path is not skipped

**URL:** <https://community.localwp.com/t/xdebug-only-triggers-when-site-is-restarted-and-local-apps-path-is-not-skipped/23663>\
**Category:** Support\
**Tags:** phpstorm, xdebug, mac-big-sur\
**Created:** [December 31, 2020, 5:55am UTC](https://community.localwp.com/t/xdebug-only-triggers-when-site-is-restarted-and-local-apps-path-is-not-skipped/23663 "2020-12-31T05:55:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cliff](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/cliff/32/25260_2.png) [@cliff](https://community.localwp.com/u/cliff)\
**Post date:** [December 31, 2020, 5:55am UTC](https://community.localwp.com/t/xdebug-only-triggers-when-site-is-restarted-and-local-apps-path-is-not-skipped/23663/1 "2020-12-31T05:55:01Z")

</div>

### Issue Summary

Xdebug only triggers on the first page load after site is started/restarted and only if I don’t skip the Local app’s own path

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular? All

- Are you able to create a new, plain WordPress site in Local and access it in a Browser? Yes

#### Replication

2min demo: [2020-12-30 Local Flywheel X...](https://share.getcloudapp.com/mXu5vENg)

#### System Details

- Which version of Local is being used? 5.9.7+5156

- What Operating System (OS) and OS version is being used? macOS Big Sur 11.1

- PhpStorm 2020.3

[local-lightning.log](https://community.localwp.com/uploads/short-url/eia4EFqP6yY7KIqMEl41J1y4AjC.log) (106.0 KB)

---

<div class="post-metadata">

**Author:** ![cliff](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/cliff/32/25260_2.png) [@cliff](https://community.localwp.com/u/cliff)\
**Post date:** [January 3, 2021, 1:35am UTC](https://community.localwp.com/t/xdebug-only-triggers-when-site-is-restarted-and-local-apps-path-is-not-skipped/23663/2 "2021-01-03T01:35:16Z")

</div>

Turns out it was due to [https://youtrack.jetbrains.com/issue/WI-57282](https://youtrack.jetbrains.com/issue/WI-57282), fixed in PhpStorm version 2020.3.1

thanks anyway

---

<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:** [April 3, 2021, 1:35am UTC](https://community.localwp.com/t/xdebug-only-triggers-when-site-is-restarted-and-local-apps-path-is-not-skipped/23663/3 "2021-04-03T01:35:17Z")

</div>

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