Installation
#for Alpine linux
sudo apk add php8-pecl-xdebug
//use this script to confirm xdebug is installed
<?php
xdebug_info();
Activating Step Debugging
//in linux
export XDEBUG_SESSION=1
//after that, run a php script. Then go to xdebug log
// /var/log/xdebug.log to see details
Chrome Inspector
Network
To see all, click All tab. To see ajax call, click Fetch/XHR tab
No comments:
Post a Comment