Local Community

Xdebug not fully enabled?

Hi,

I’ve just moved to Local from a Valet environment and having some issues getting debugging working, most critically it appears that XDebug does not fully kicking because server errors only display messages such as https://share.getcloudapp.com/o0uDgq0j

To make matters worse, the log files are not being populated despite having WP_Debug enabled too:

define('WP_DEBUG', true);

if (WP_DEBUG) {
  @error_reporting(E_ALL);
  @ini_set('log_errors', true);
  // @ini_set('log_errors_max_len', '0');

  define('WP_DEBUG_LOG', true);
  define('CONCATENATE_SCRIPTS', false);
  define('SAVEQUERIES', true);

  define('JETPACK_DEV_DEBUG', true);
}

Without including any information about the error cause. I’m using the Xdebug + PhpStorm which I assumed would work for me despite using VSCode but perhaps not the case. I’ve also tried a few recipes found on this forum without any luck.

Anyone found a reliable solution for this?

Oh, please ignore this. In my case there was a plugin forcingly disabling all kinds of debugging options.

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