Questions tagged [xdebug-3]

Xdebug is a PHP extension with developing aids, a profiler, an interactive debugging, and a code coverage information gatherer.

Xdebug is an extension for PHP, and provides a range of features to improve the PHP development experience.

Step Debugging
A way to step through your code in your IDE or editor while the script is executing.

Improvements to PHP's error reporting
An improved var_dump() function, stack traces for Notices, Warnings, Errors and Exceptions to highlight the code path to the error

Tracing
Writes every function call, with arguments and invocation location to disk. Optionally also includes every variable assignment and return value for each function.

Profiling
Allows you, with the help of visualisation tools, to analyse the performance of your PHP application and find bottlenecks.

Code Coverage Analysis
To show which parts of your code base are executed when running unit tests with PHP Unit.


113 questions
0
votes
3 answers

How to run Xdebug 3 on Vagrant / Homestead with VSCode (on Big Sur Mac)

Suddenly, with a new installation of Vagrant/Homestead running a freshly installed Big Sur (macOS), my (old) Xdebug configuration for some reason didn't want to work with my VSCode. I spent a good few hours trying to figure it out, trying many…
Picard
  • 3,745
  • 3
  • 41
  • 50
0
votes
0 answers

Unable to get Xdebug 3 working with Docker

So, after spending several days of browsing unsuccessfully trying to figure out why upgrading to Xdebug 3 seems to only partially work with my Dockerized Laravel project, here I am. I've closely followed the upgrade guide and official documentation,…
Eli S
  • 63
  • 1
  • 6
0
votes
1 answer

Change time from UTC to local time in C

I would like to output in local time, America/Los_Angeles to the log file. Currently, I'm getting times in UTC. I'm hoping a solution exists within these three functions. /* src/lib/timing.c line 196 */ char* xdebug_nanotime_to_chars(uint64_t…
Buttle Butkus
  • 9,206
  • 13
  • 79
  • 120
0
votes
2 answers

Why Xdebug 3 log is empty?

zend_extension=/usr/lib/php/20190902/xdebug.so xdebug.mode=debug xdebug.log=/var/log/xdebug.log I had set permissions 777 to xdebug.log file I run php7.4 index.php PhpStorm listening is on. Code does not stop on breakpoints when running from…
Darius.V
  • 737
  • 1
  • 13
  • 29
0
votes
0 answers

How to configure Xdebug 3 and PhpStorm 2020.3 for collaboration? Ubuntu

In the instruction write it is necessary to specify simply xdebug.mode=debug, which I do in the config file etc/php/7.4/mods-available/xdebug.ini, and change port in PhpStorm to 9003. I do the rest of the settings of the PhpStorm as before, but…
Ivan
  • 89
  • 1
  • 6
0
votes
0 answers

Upgraded to Xdebug 3 but still getting some old config variables

I recently upgraded to Xdebug 3.0.1 on this server specs: Ubuntu Server 20.04 PHP 7.3.24 Xdebug 3.0.1 Xdebug is working fine, in the main config files I have this…
razor7
  • 2,165
  • 2
  • 19
  • 32
0
votes
2 answers

Why xdebug 3 is not loaded?

I have restarted nginx and php7.4-fpm. xdebug 3 looks like is installed based on this: root@darius-Vostro-5481:/home/darius/Private/Projects/vop7# apt search xdebug Sorting... Done Full Text Search... Done php-xdebug/bionic,now…
Darius.V
  • 737
  • 1
  • 13
  • 29
-1
votes
1 answer

php xdebug doesn't work - Error: Socket not writable

I use php xdebug, xampp and VScode, but today xdebug unexpectedly stopped working...  The error it gives me is this: "continueRequest thread ID 1 error: socket not writable". Can anyone here help me get it working again? I have another php project…
André Giuly
  • 19
  • 1
  • 6
1 2 3 4 5 6 7
8