WP site times out too quickly when debugging….

[ad_1]

I am using Apache, PHP 8.0.3, MariaDB 10.4.10 and WordPress 6.3.2 to run a local instance of a website. I am trying to debug it using Xdebug 3 and VS Code, but when I set a breakpoint and stop on that breakpoint, the site throws an error about 30 seconds in….

[error])

I need a little more time to check system variables and see if I can tell what the code it doing. How do I stop the WordPress app from timing out so quickly?

I am testing this by setting a breakpoint in wp-config.php on the line that reads “define( ‘DB\_NAME’, ‘local’ );”. It stops there just fine, but it does that error thing that you see above after about 30 seconds.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer