I was using PHP 5.3 for my project in my mac machine(OS: Mac Big sur). I have upgraded to PHP 7.3 using brew 2 days back. Since then the var_dump() function showing as simple string instead of the styles one which I was getting with PHP 5.3.
I have installed xdebug as per some online suggestions. Still the same display getting
Is there any way to make var_dump() looks good?
When I try php -v, I am getting the below result which showing xdebug is installed.

php-cli, but also for eg.php-fpm; you can validate that by usingphpinfo()and searching forxdebugin the output.xdebug.cli_color = 2to your.inifile:php.ini, at the end - after it loads extension files;xdebug.iniif you have one; eg. in/etc/php/7.4/fpm/conf.d/