I was using sublime and VScode for the development. Recently I heard that PHPStorm is the best IDE for the Magento2 development and using xdebug you can easily debug the issues and write modules. I tried to setup my system for PHPstorm IDE. To be honest, I tried for 3-4 weeks to setup PHPStorm and Xdebug to run together in my system but it's not working. I believe on this platform there are many geeks might have seen this issue and would help me to resolve those issue.
Operating System: Ubuntu 18.04 PHPStorm: Latest Version: 2020.3.2 Webserver: Nginx PHP: PHP7.3-fpm
I have already install xdebug in linux and configured in /etc/php/7.3/fpm/php.ini and /etc/php/7.3/cli/php.ini
If I run phpinfo() it shows xdebug is already installed. Also, I have installed xdebug Firefox and Chrome extensions (which I saw in one of the video on youtube) but unfortunately still not working.
I have done required configuration by following some articles but unfortunately, xdebug is not working and not showing anything. I tried to set the break point in my extension and When I start the debug it also loads the website with query string: http://jacksontest.site/?XDEBUG_SESSION_START=19345 but xdebug is not showing any results. Xdebug keep showing the result shown in below screenshot. Even if I refresh the page, it's not showing anything.
I have installed xdebug helper browser extensions for firefox and chrome as well. I also kept those extensions enabled but still no luck. Could you please help me?
I checked many articles, youtube videos but not able to get it work. There are many developers like me who has just started using the PHP storm but don't know how to configure and use Xdebug with it.
I would really really appreciate if anyone can help me to set it up.
Articles I followed: Magento 2 PHPSTORM Xdebug Configuration setup