Need to configure following things for xdebug to work
McAfee : 'Firewall->Ports and System Services->Add' port 9000 to allow xdebug to connect and 'Firewall->Smart Advice and Advanced Settings->Allow ICMP ping request' to allow ping from VM to host.
Install extensions 'The easiest Xdebug' in Firefox or 'Xdebug Helper' in Chrome. Using the installed extensions initiate a debugging session.
Open '~/.atom/config.cson' and set path map to '/usr/share/nginx/WEBAPP;C:\Users\<user-name>\php-projects\DLEMP' (Example: https://atom.io/packages/php-debug)
Open 'PHP Debug' panel in Atom. 'PHP Debug' will not start listening for incoming connections until you open the panel.
*Note: If xdebug doesn't work, then you should try to ping $_SERVER['REMOTE_ADDR'] ip from phpfpm container to make sure that your firewall isn't blocking xdebug from connecting to your IDE.
Need to configure following things for xdebug to work