To check if Xdebug is working, you can try the following steps:
To get xdebug to show the full contents of an object or array when using the var_dump function, you can use the xdebug.var_display_max_depth setting in your php.ini file.