Comments on: Debugging WordPress Using Xdebug, Local, and VS Code https://webdevstudios.com/2022/10/06/debugging-wordpress/ WordPress Design and Development Agency Mon, 15 Apr 2024 15:54:48 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Carry Megens https://webdevstudios.com/2022/10/06/debugging-wordpress/#comment-154714 Mon, 17 Apr 2023 21:13:26 +0000 https://webdevstudios.com/?p=25376#comment-154714 Thanks for putting this together,
Since PHP 8.x is much more strict, hosters stopping support for PHP 7.x and WordPress website themes and plugins will need to be fixed, this article comes in time.

]]>
By: robin https://webdevstudios.com/2022/10/06/debugging-wordpress/#comment-151952 Sat, 18 Feb 2023 09:35:00 +0000 https://webdevstudios.com/?p=25376#comment-151952 briljant article !

]]>
By: dale https://webdevstudios.com/2022/10/06/debugging-wordpress/#comment-151860 Thu, 16 Feb 2023 21:44:24 +0000 https://webdevstudios.com/?p=25376#comment-151860 wow…ok last comment, i hope…after a little more back tracking and “setting up” xdebug based on this article, newer versions of Local WP (6.6.1+6281), you seem to only need to toggle the “Xdebug” setting “on” from the “Overview” page and don’t actually need to copy any of the configs from this article. It seems that just the plugin is needed to be installed. Still helpful none the less!

]]>
By: dale https://webdevstudios.com/2022/10/06/debugging-wordpress/#comment-151858 Thu, 16 Feb 2023 21:26:38 +0000 https://webdevstudios.com/?p=25376#comment-151858 whoops, my last comment should have said “Overview” tab, not “Tools”

]]>
By: dale https://webdevstudios.com/2022/10/06/debugging-wordpress/#comment-151857 Thu, 16 Feb 2023 21:14:26 +0000 https://webdevstudios.com/?p=25376#comment-151857 awesome post! idk why it took me so long to find this, but it was extremely helpful. I think with newer versions of Local WP (I’m running 6.6.1+6281), there is a Xdebug toggle at the bottom of the app “Tools” screen.

It is defaulted to “off” so make sure you toggle it to “on.”

In the `php.ini.hbs` file, there is a conditional that checks if `xdebugEnabled`:

{{#if xdebugEnabled}}
xdebug.mode=debug,develop
{{else}}
xdebug.mode=off
{{/if}}

It also seems the newer versions includes its own “xdebug info” page. From that “Tools” screen, you can click “Details” link next to the the xdebug toggle and it will bring you to this page:

http://localhost:/local-xdebuginfo.php

hope that helps!

]]>
By: Software House Today https://webdevstudios.com/2022/10/06/debugging-wordpress/#comment-145938 Fri, 07 Oct 2022 11:43:59 +0000 https://webdevstudios.com/?p=25376#comment-145938 it is easy to understand… great

]]>