Questions tagged [xdebug-3]
Xdebug is a PHP extension with developing aids, a profiler, an interactive debugging, and a code coverage information gatherer.
xdebug-3
124
questions
0
votes
0
answers
84
views
Laravel Herd: upstream prematurely closed connection while reading response header from upstream
I do have Laravel Herd (1.6) installed and Xdebug configured based on Herd's documentation and I'm using PhpStorm as my IDE.
Whenever I run a project endpoint (whether from browser or via API client), ...
0
votes
1
answer
48
views
How to step back debugging in PhpStorm?
I am searching for an option to step back debug in PhpStorm using Xdebug. Where is this option?
Thx in advanced for every constructive help! Here is method, which will be called from anywhere
I want ...
0
votes
0
answers
26
views
Why Xdebug function xdebug_get_code_coverage() return detail coverage information only once?
The Xdebug documentation states that when xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE | XDEBUG_CC_BRANCH_CHECK); is set, the xdebug_get_code_coverage() function will return a ...
1
vote
1
answer
130
views
Visual Studio Code doesn't work with Xdebug
Firstly, I want to inform you that English is not my first language, and I apologize for my imperfect English.
I configured Xdebug to debug in VSCode. Three icons of Xdebug are inactive (Step into ...
0
votes
0
answers
28
views
Implementing breakpoints on variable value changes during step debugging without conditional breakpoint
Is there an effective method to pause execution during step-by-step debugging when a specific variable's value is altered, without the prerequisite of establishing a conditional breakpoint in advance?
...
0
votes
1
answer
108
views
Xdebug 3 - trace file viewer
I enabled tracing and it created a file trace.231189926.xt.
Which tools can open it without crashing on big files?
I used xdebug.trace_format=2 to make it save it as HTML, but my browser crashes if I ...
0
votes
0
answers
34
views
How to display ECHO real-time outputs in the browser Xdebug?
The real-time outputs are only displayed in the PhpStorm "Output" tab, and only when the script finishes does it display the result in the browser.
This setup didn't work for me:
...
-1
votes
1
answer
44
views
Use Xdebug var_dump function without enabling other features
I only use var_dump functionality from xdebug extension.
I have set php.ini to xdebug.mode = develop.
But develop mode slows the whole application (I am assuming it enables a lot more features other ...
2
votes
1
answer
110
views
Xdebug 3 on GitPod with Apache
I am trying to get Xdebug 3 to run on GitPod with Apache. Installation works well, also "Launch on currently open script".
The challenge is to connect Xdebug to the debug client. That seems ...
1
vote
1
answer
177
views
PhpStorm and Xdebug ignoring some of the file
I'm having this weird issue where PhpStorm debugger would step into some files but not others, the project only has one route mapping and both files are on a very similar location, already reviewed ...
0
votes
0
answers
305
views
What does it mean when it says that my debugger is detached?
I recently found Xdebug for PHP and decided to try it out. It works well for debugging in the console, but for some reason, it does not work at all from the browser.
I navigate to localhost with the ...
0
votes
0
answers
54
views
php-fpm/xdebug status command does not work in laradock environment
Can you help me get the php-fpm/xdebug status command to work?
I want to manually enable xdebug
mac info
docker version
docker compose version
xdebug has been turned on in workspace and php-fpm
...
0
votes
1
answer
212
views
Xdebug3 does not trigger
I'm trying to set up Xdebug for a remote web server. The idea is to use ssh tunnels from the development machines to the development server. The system is a Debian Bookworm LXC container. The network ...
-1
votes
1
answer
256
views
Xdebug extension not loading in XAMPP on Mac - x86_64 versus arm64
I followed the instructions on xdebug.org to install Xdebug on my M2 Mac.
For compiling the extension I installed PHP on my machine, so I installed the latest 8.2.
I also installed Xdebug with pecl ...
1
vote
0
answers
147
views
spawn UNKNOWN Error when debug php on VS Code using xDebug 3
I have installed xDebug extension on VS Code with xampp (php) installed on another computer on the local network.
On my computer I have mapped a network drive (w) that points to \ip_of_xampp_computer\...