Where is Xdebug INI located?
ini , and it is located within your PHP runtime folder. Add the following lines at the end of your configuration file depending on Xdebug version you have. Change the absolute path for Xdebug so it corresponds to the correct path on your system.
How do I know if Xdebug is installed Linux?
php phpinfo(); Run this PHP file in your web server and search for the xdebug module in the output. If it is listed, then Xdebug is installed and enabled. You can also check if Xdebug is working by adding a breakpoint to your code and then triggering it by making a request to your web server.