I have tried to configure many a times, Zend studio with XDebug due to various reasonss, most common being my…