PHP profiling in VS Code is not showing call times

302 views Asked by At

I'm using VS Code and particularly the "PHP" extension to open cachegrind files that I have xdebug generating. When I open the file in Qcachegrind, it shows everything correctly including call times. But opening the profile file in VS Code shows all call times as "0.00ms". Why could this be?

1

There are 1 answers

1
Derick On BEST ANSWER

Your Xdebug version is no longer supported. Only Xdebug 3 is. I can't see anything wrong with your cachegrind file (mostly, because it's all squished in one line), so I would recommend you file a bug report with the VS Code PHP Plugin people: https://github.com/xdebug/vscode-php-debug/issues