# \#xdebug

**URL:** https://community.localwp.com/tag/xdebug/30.md

[Latest](https://community.localwp.com/latest.md) · [Categories](https://community.localwp.com/categories.md) · [Tags](https://community.localwp.com/tags.md)

---

## [Have setting for Xdebug to select either 'debug' or 'develop' (or both)](https://community.localwp.com/t/have-setting-for-xdebug-to-select-either-debug-or-develop-or-both/51707)

<div class="topic-metadata">

**Author:** [@Ruud](https://community.localwp.com/u/Ruud)\
**Replies:** 1\
**Last updated:** [December 19, 2025, 1:41pm UTC](https://community.localwp.com/t/have-setting-for-xdebug-to-select-either-debug-or-develop-or-both/51707 "2025-12-19T13:41:20Z")

</div>

What issue or error are you experiencing? When I want to want to see more informative and better presented errors I often enable Xdebug. The issue is that the site is then becoming very slow. What steps can be taken to…

---

## [Xdebug 3.3.0 crashes](https://community.localwp.com/t/xdebug-3-3-0-crashes/51324)

<div class="topic-metadata">

**Author:** [@iandunn](https://community.localwp.com/u/iandunn)\
**Replies:** 2\
**Last updated:** [September 9, 2025, 10:40am UTC](https://community.localwp.com/t/xdebug-3-3-0-crashes/51324 "2025-09-09T10:40:43Z")

</div>

Bug Summary Local bundles xdebug 3.3.0 for PHP 8.3.x, which sometimes crashes. 3.1.1 and 3.3.2 fixed those. Updating the bundled version is likely to fix it. Steps to reproduce Set a site to use PHP 8.3.23 and apply …

---

## [Configure X-Debug to identify Performance Issues in Site](https://community.localwp.com/t/configure-x-debug-to-identify-performance-issues-in-site/46980)

<div class="topic-metadata">

**Author:** [@sigurdwattdev](https://community.localwp.com/u/sigurdwattdev)\
**Replies:** 5\
**Last updated:** [February 18, 2025, 2:31pm UTC](https://community.localwp.com/t/configure-x-debug-to-identify-performance-issues-in-site/46980 "2025-02-18T14:31:04Z")

</div>

I have installed x-debug on local, got the vs-code extension however, I am now trying to enabling profiling as I have a performance issue on my WordPress site and want to identify what it is exactly. I have been trying …

---

## [Stop changing how the debugger works each time. PLEASE](https://community.localwp.com/t/stop-changing-how-the-debugger-works-each-time-please/37664)

<div class="topic-metadata">

**Author:** [@gfirem](https://community.localwp.com/u/gfirem)\
**Replies:** 4\
**Last updated:** [December 30, 2024, 3:22pm UTC](https://community.localwp.com/t/stop-changing-how-the-debugger-works-each-time-please/37664 "2024-12-30T15:22:58Z")

</div>

I remember and miss the times when local helps me a lot to setup a LAMP env in a fast and reliable way, it was using virtual box in behind and each environment was complete isolated. I’m that old user. At this point eac…

---

## [xDebug couses 'Internal Server Error' when using breakpoint](https://community.localwp.com/t/xdebug-couses-internal-server-error-when-using-breakpoint/44658)

<div class="topic-metadata">

**Author:** [@doroness](https://community.localwp.com/u/doroness)\
**Replies:** 1\
**Last updated:** [September 24, 2024, 1:54pm UTC](https://community.localwp.com/t/xdebug-couses-internal-server-error-when-using-breakpoint/44658 "2024-09-24T13:54:55Z")

</div>

Bug Summary When using xDebug breakpoints on vs code, after a few seconds, the server stop working producing 500 Internal Server Error Steps to reproduce Use break point with xDebug and vs code. Wait about 10 seconds. E…

---

## [Internal server on Xdebug breakpoint](https://community.localwp.com/t/internal-server-on-xdebug-breakpoint/41244)

<div class="topic-metadata">

**Author:** [@san](https://community.localwp.com/u/san)\
**Replies:** 3\
**Last updated:** [February 9, 2024, 8:00pm UTC](https://community.localwp.com/t/internal-server-on-xdebug-breakpoint/41244 "2024-02-09T20:00:06Z")

</div>

I was running xdebug and stopped on a breakpoint. so far so good, but after 40-45 seconds the site redirected to a page that displayed an internal server error. I have the extension running and by default the max\_execut…

---

## [No Xdebug toggle visible](https://community.localwp.com/t/no-xdebug-toggle-visible/38123)

<div class="topic-metadata">

**Author:** [@ProxxiM](https://community.localwp.com/u/ProxxiM)\
**Replies:** 5\
**Last updated:** [July 20, 2023, 3:29pm UTC](https://community.localwp.com/t/no-xdebug-toggle-visible/38123 "2023-07-20T15:29:03Z")

</div>

On my colleagues computer, we are not seeing a toggle for enabling Xdebug. He’s running a very recent version of Local. I have no clue how to reproduce this, as far as I know there are no further apps, tools or extension…

---

## [Xdebug with Bedrock](https://community.localwp.com/t/xdebug-with-bedrock/38066)

<div class="topic-metadata">

**Author:** [@cmagill](https://community.localwp.com/u/cmagill)\
**Replies:** 1\
**Last updated:** [July 15, 2023, 1:02pm UTC](https://community.localwp.com/t/xdebug-with-bedrock/38066 "2023-07-15T13:02:55Z")

</div>

I’m running Bedrock sites on Local and am trying to integrate Xdebug wtih PHPStorm. I’ve downloaded the proper add-ons, but when I click “Add Run Configuration to PHPStorm” I receive the following error: Error: ENOENT: …

---

## [How to get XDEBUG to work with VSCODE when you're using php 7.x?](https://community.localwp.com/t/how-to-get-xdebug-to-work-with-vscode-when-youre-using-php-7-x/35548)

<div class="topic-metadata">

**Author:** [@ezoer](https://community.localwp.com/u/ezoer)\
**Replies:** 0\
**Last updated:** [February 14, 2023, 7:40am UTC](https://community.localwp.com/t/how-to-get-xdebug-to-work-with-vscode-when-youre-using-php-7-x/35548 "2023-02-14T07:40:04Z")

</div>

What is the problem? Local’s XDEBUG configuration is using the syntax compatible with XDEBUG version 3.x. Because there is no compatible XDEBUG version 3.x for PHP version 7.4.3 (yet), XDEBUG version 2.x is deployed. Ho…

---

## [Cannot debug with VS Code after Local update](https://community.localwp.com/t/cannot-debug-with-vs-code-after-local-update/34313)

<div class="topic-metadata">

**Author:** [@kenguiche](https://community.localwp.com/u/kenguiche)\
**Replies:** 1\
**Last updated:** [November 22, 2022, 2:58pm UTC](https://community.localwp.com/t/cannot-debug-with-vs-code-after-local-update/34313 "2022-11-22T14:58:54Z")

</div>

Issue Summary I had been developing WP shortcode plug-ins using VS Code until the end of this October and everything was working fine. I just went back to update my program today and I can no longer use the debugger (it …

---

## [Xdegbug v3 config](https://community.localwp.com/t/xdegbug-v3-config/25756)

<div class="topic-metadata">

**Author:** [@janw.me](https://community.localwp.com/u/janw.me)\
**Replies:** 2\
**Last updated:** [November 16, 2022, 3:46am UTC](https://community.localwp.com/t/xdegbug-v3-config/25756 "2022-11-16T03:46:27Z")

</div>

I’m new to local and was configuring xdebug with phpstorm. It auto installed xdebug 3 which wasn’t working propperly. After trying a bunch of stuff I got it working when changing a few php,ini settings: old xdebug.re…

---

## [Set xdebug.mode to develop by default](https://community.localwp.com/t/set-xdebug-mode-to-develop-by-default/33897)

<div class="topic-metadata">

**Author:** [@ProxxiM](https://community.localwp.com/u/ProxxiM)\
**Replies:** 5\
**Last updated:** [November 15, 2022, 9:25pm UTC](https://community.localwp.com/t/set-xdebug-mode-to-develop-by-default/33897 "2022-11-15T21:25:27Z")

</div>

Hi, I think xdebug.mode previously was set to ‘develop’. Now it’s set to ‘debug’ by default, which doesn’t wrap the output in pre-tags. With the develop-setting this made output from PHP functions like var\_dump() way m…

---

## [Site performance issues with LocalWP and Xdebug with PhpStorm](https://community.localwp.com/t/site-performance-issues-with-localwp-and-xdebug-with-phpstorm/33405)

<div class="topic-metadata">

**Author:** [@codebytom](https://community.localwp.com/u/codebytom)\
**Replies:** 0\
**Last updated:** [September 22, 2022, 9:34am UTC](https://community.localwp.com/t/site-performance-issues-with-localwp-and-xdebug-with-phpstorm/33405 "2022-09-22T09:34:57Z")

</div>

Issue Summary My local sites run painfully slow when I have Xdebug installed. I have to follow these steps to fix the problem but then I am unable to use Xdebug Troubleshooting Questions Does this happen for all sit…

---

## [Debug with Local in VSCode](https://community.localwp.com/t/debug-with-local-in-vscode/33378)

<div class="topic-metadata">

**Author:** [@ignasitort](https://community.localwp.com/u/ignasitort)\
**Replies:** 6\
**Last updated:** [September 21, 2022, 7:48am UTC](https://community.localwp.com/t/debug-with-local-in-vscode/33378 "2022-09-21T07:48:26Z")

</div>

Issue Summary I have changed PHP versions and I can not make VSCode debugging with any of my sites in Local neither nginx /apache or php 7.4.30 or php 8.1.9. Previously (just a few days ago ) debugging worked perfectly. …

---

## [Intercepting problematic code before push](https://community.localwp.com/t/intercepting-problematic-code-before-push/33371)

<div class="topic-metadata">

**Author:** [@donwhiteside](https://community.localwp.com/u/donwhiteside)\
**Replies:** 0\
**Last updated:** [September 19, 2022, 7:04pm UTC](https://community.localwp.com/t/intercepting-problematic-code-before-push/33371 "2022-09-19T19:04:39Z")

</div>

At least once a month I accidentally push code up to a flywheel-hosted site that still has an xdebug\_break() function call in it. And then all hell breaks loose because the site doesn’t have xdebug enabled. I took a qui…

---

## [PhpStorm PHP Xdebug appears to only be listening on port 9003, not reading preferences-\>PHP-\>debug-\>Debug port settings](https://community.localwp.com/t/phpstorm-php-xdebug-appears-to-only-be-listening-on-port-9003-not-reading-preferences-php-debug-debug-port-settings/33005)

<div class="topic-metadata">

**Author:** [@DougF](https://community.localwp.com/u/DougF)\
**Replies:** 0\
**Last updated:** [August 27, 2022, 11:38pm UTC](https://community.localwp.com/t/phpstorm-php-xdebug-appears-to-only-be-listening-on-port-9003-not-reading-preferences-php-debug-debug-port-settings/33005 "2022-08-27T23:38:31Z")

</div>

Issue Summary - See thread topic. Troubleshooting Questions - Happens for all sites in Local. Only problem is using Xdebug with PhpStorm & Local. Everything else works as it should. Replication - I completely wiped (incl…

---

## [Updating Xdebug to the latest version or at least version 3.0.4](https://community.localwp.com/t/updating-xdebug-to-the-latest-version-or-at-least-version-3-0-4/31701)

<div class="topic-metadata">

**Author:** [@batur](https://community.localwp.com/u/batur)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 7:43am UTC](https://community.localwp.com/t/updating-xdebug-to-the-latest-version-or-at-least-version-3-0-4/31701 "2022-05-17T07:43:54Z")

</div>

I have been trying to update Xdebug version 3.0.0, that comes with Local by Flywheel, to the latest version or at least 3.0.4. After spending countless hours, I couldn’t do that. I am on a Debian based system. Until no…

---

## [Can't get PhpStorm/Xdebug breakpoints to fire](https://community.localwp.com/t/cant-get-phpstorm-xdebug-breakpoints-to-fire/31417)

<div class="topic-metadata">

**Author:** [@wwzeitler](https://community.localwp.com/u/wwzeitler)\
**Replies:** 0\
**Last updated:** [April 26, 2022, 9:02pm UTC](https://community.localwp.com/t/cant-get-phpstorm-xdebug-breakpoints-to-fire/31417 "2022-04-26T21:02:25Z")

</div>

Issue Summary Can’t get PhpStorm/Xdebug breakpoints to fire Replication I set breakpoints, and in PhpStorm I’ve also selected ‘Run | Break at first line in PHP Scripts’, click ‘Play’ and it just runs. Doesn’t halt at br…

---

## [Stuck trying to setup up xdebug/PhpStorm](https://community.localwp.com/t/stuck-trying-to-setup-up-xdebug-phpstorm/31416)

<div class="topic-metadata">

**Author:** [@wwzeitler](https://community.localwp.com/u/wwzeitler)\
**Replies:** 0\
**Last updated:** [April 26, 2022, 8:22pm UTC](https://community.localwp.com/t/stuck-trying-to-setup-up-xdebug-phpstorm/31416 "2022-04-26T20:22:34Z")

</div>

Issue Summary The directions (found here: Add-ons Library - Local) read: Download and install PhpStorm. Navigate to “Xdebug + PhpStorm” within the “Add-ons” tab of Local. Click the “Install Add-on” button. Click the “E…

---

## [Xdebug: \[Step Debug\] Could not connect to debugging client](https://community.localwp.com/t/xdebug-step-debug-could-not-connect-to-debugging-client/30503)

<div class="topic-metadata">

**Author:** [@Sisanu](https://community.localwp.com/u/Sisanu)\
**Replies:** 2\
**Last updated:** [April 1, 2022, 6:48pm UTC](https://community.localwp.com/t/xdebug-step-debug-could-not-connect-to-debugging-client/30503 "2022-04-01T18:48:19Z")

</div>

Issue Summary Xdebug: \[Step Debug\] Could not connect to debugging client. Tried: 127.0.0.1:9000 (from HTTP\_X\_FORWARDED\_FOR HTTP header), localhost:9000 (fallback through xdebug.client\_host/xdebug.client\_port) :-( recurri…

---

## [PHP 7.4.20 required for Xdebug 3.1.x](https://community.localwp.com/t/php-7-4-20-required-for-xdebug-3-1-x/30455)

<div class="topic-metadata">

**Author:** [@TonyGman](https://community.localwp.com/u/TonyGman)\
**Replies:** 0\
**Last updated:** [February 23, 2022, 9:24pm UTC](https://community.localwp.com/t/php-7-4-20-required-for-xdebug-3-1-x/30455 "2022-02-23T21:24:25Z")

</div>

With a note from @ben.turner I understand that getting a built-in current version of PHP v7.4 is considered a Feature Request. RE: “As for why Local’s versions of PHP are slightly behind the published minor versions of …

---

## [xDebug does only show unformatted code](https://community.localwp.com/t/xdebug-does-only-show-unformatted-code/30196)

<div class="topic-metadata">

**Author:** [@undersound](https://community.localwp.com/u/undersound)\
**Replies:** 1\
**Last updated:** [February 5, 2022, 6:58pm UTC](https://community.localwp.com/t/xdebug-does-only-show-unformatted-code/30196 "2022-02-05T18:58:01Z")

</div>

Issue Summary I recently switched to PHP 8. Not quite sure if the issue occured before, but e.g. the var\_dump is completely unstyled, just a string, thus not helpfull at all. Troubleshooting Questions Does this happen …

---

## [PHP error - Xdebug?](https://community.localwp.com/t/php-error-xdebug/28470)

<div class="topic-metadata">

**Author:** [@murph](https://community.localwp.com/u/murph)\
**Replies:** 4\
**Last updated:** [October 27, 2021, 9:09am UTC](https://community.localwp.com/t/php-error-xdebug/28470 "2021-10-27T09:09:24Z")

</div>

Im using the Events Manager plugin. Its throwing an error, which I understand may be related to Xdebug…? “Fatal error: Uncaught Error: Maximum function nesting level of ‘256’ reached, aborting! in…” I followed other ad…

---

## [XDebug 2.5.0 and PHP 7.1](https://community.localwp.com/t/xdebug-2-5-0-and-php-7-1/142)

<div class="topic-metadata">

**Author:** [@afragen](https://community.localwp.com/u/afragen)\
**Replies:** 5\
**Last updated:** [September 24, 2021, 3:44pm UTC](https://community.localwp.com/t/xdebug-2-5-0-and-php-7-1/142 "2021-09-24T15:44:39Z")

</div>

Since both XDebug 2.5.0 and PHP 7.1 are now out it seems like a good time to include both in next update :thinking:

---

## [Xdebug + PhpStorm add-on doesn't work](https://community.localwp.com/t/xdebug-phpstorm-add-on-doesnt-work/26404)

<div class="topic-metadata">

**Author:** [@dashaluna](https://community.localwp.com/u/dashaluna)\
**Replies:** 1\
**Last updated:** [July 9, 2021, 9:43pm UTC](https://community.localwp.com/t/xdebug-phpstorm-add-on-doesnt-work/26404 "2021-07-09T21:43:31Z")

</div>

Hello, (NB: I’ve edited the description of the issue as I got feedback it wasn’t clear, hope this one is better). I’d like to use PhpStorm’s zero configuration debugging as described here Zero-configuration debugging |…

---

## [Xdebug configuration changes in php.ini have no effect](https://community.localwp.com/t/xdebug-configuration-changes-in-php-ini-have-no-effect/26106)

<div class="topic-metadata">

**Author:** [@pglewis](https://community.localwp.com/u/pglewis)\
**Replies:** 1\
**Last updated:** [June 26, 2021, 5:23pm UTC](https://community.localwp.com/t/xdebug-configuration-changes-in-php-ini-have-no-effect/26106 "2021-06-26T17:23:46Z")

</div>

Issue Summary Changes to the Xdebug configuration in php.ini on my Ubuntu installation appears to have no effect. Troubleshooting Questions The exact same process and settings work properly on my OS X installation. Rep…

---

## [Xdebug profiling doesn't work](https://community.localwp.com/t/xdebug-profiling-doesnt-work/25909)

<div class="topic-metadata">

**Author:** [@ProxxiM](https://community.localwp.com/u/ProxxiM)\
**Replies:** 5\
**Last updated:** [June 16, 2021, 3:34pm UTC](https://community.localwp.com/t/xdebug-profiling-doesnt-work/25909 "2021-06-16T15:34:44Z")

</div>

For a client I need to investigate what functions/code slows down their platform the most. The best thing I could have is an overview of how long every PHP function takes to execute. I can’t find any good solutions for t…

---

## [Instructions to disable XDEBUG appear out of date](https://community.localwp.com/t/instructions-to-disable-xdebug-appear-out-of-date/25601)

<div class="topic-metadata">

**Author:** [@helgatheviking](https://community.localwp.com/u/helgatheviking)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 9:33pm UTC](https://community.localwp.com/t/instructions-to-disable-xdebug-appear-out-of-date/25601 "2021-05-18T21:33:33Z")

</div>

Issue Summary Trying everything to get Local to be functional on Windows 10 instead of 25-30 second page loads, I followed the instructions at How can I disable the Xdebug PHP extension? - FAQ - Local Community wrapping…

---

## [Error with "Preload Local Fonts" in Kadence theme](https://community.localwp.com/t/error-with-preload-local-fonts-in-kadence-theme/25195)

<div class="topic-metadata">

**Author:** [@bienveillant](https://community.localwp.com/u/bienveillant)\
**Replies:** 5\
**Last updated:** [April 24, 2021, 11:06am UTC](https://community.localwp.com/t/error-with-preload-local-fonts-in-kadence-theme/25195 "2021-04-24T11:06:53Z")

</div>

When I enable “Load Google font locally” and “Preload Local Fonts” in Kadence theme (General/Performance), I got this error : Fatal error: Uncaught Error: Maximum function nesting level of ‘256’ reached, aborting! in \[……

---

## [Xdebug 3.0.0](https://community.localwp.com/t/xdebug-3-0-0/23240)

<div class="topic-metadata">

**Author:** [@davidfw](https://community.localwp.com/u/davidfw)\
**Replies:** 5\
**Last updated:** [March 8, 2021, 11:49am UTC](https://community.localwp.com/t/xdebug-3-0-0/23240 "2021-03-08T11:49:12Z")

</div>

Hi, when is the included xdebug 2.9.0 going to be updated to the recently released 3.0.0 (Nov. 25, 2020)? Version 3 offers several significant performance improvements to the debugging experience.

[Next page](https://community.localwp.com/tag/xdebug/30.md?match_all_tags=true&page=1&tags%5B%5D=xdebug)
