php-debugbar
php-debugbar copied to clipboard
Debug bar for PHP
To easier debug where each database call comes from it would be great to have a stack trace (eventually including code snippets of the corresponding lines?) of each database request....
Cursor remote option for opening a remote file (WSL/Docker)
This PR adds support for generating Xdebug file links for VSCode WSL (`vscode-wsl`). - Supports custom WSL distro via setter, env var, or default (Ubuntu). - Includes PHPUnit tests for...
Set the editor settings for all collectors, avoid registering them one by one **Usage:** ```php // paths like '/remote/demo/app/path/'will become to `/home/demo/app/path/` $debugbar->setRemoteReplacements(['/remote/demo/' => '/home/demo/']); // https://github.com/php-debugbar/php-debugbar/blob/master/src/DebugBar/DataFormatter/HasXdebugLinks.php#L107-L129 $debugbar->setEditor('vscode'); // or...