Home » Php » Configure Notepad++ DBGP plugin and XDebug for PHP

Configure Notepad++ DBGP plugin and XDebug for PHP

Posted by: admin July 12, 2020 Leave a comment


I followed these steps:

  1. download x-debug*.dll to D:\Program Files\webserver\php\ext\php_xdebug.dll
  2. modify php.ini and insert following

    zend_extension_ts="D:\Program Files\webserver\php\ext\php_xdebug.dll"
  3. restart apache and XDebug is successfully installed.

  4. DBGP is installed successfully and configured with

but XDebugger is still not connecting/working with notepad++.

How to&Answers:

i found the answer here


Make sure you have latest version of Notepad++ is installed.

  1. Download the latest release of DBGp Plugin.
  2. Unzip and move dbgpPlugin.dll file to plugins folder of your notepad++ installation folder, in my case the path is “C:Program FilesNotepad++plugins”.
  3. Check out the readme.txt file, that is bundled with plugin, to make sure we don’t miss anything.
  4. Now open Notepad++, and you should see DBGp option in plugins menu.
  5. We are now almost finished with setup, only thing remaining is to configure DBGP to listen to right port and we are done.
  6. Goto “Plugins->DBGp->Config” to open the configuration screen of DBGp plugin.
    enter image description here
  7. IDE KEY should be same to the one you specified in php.ini settings above. Click Ok and you are done.
  8. To start debugging just add “?XDEBUG_SESSION_START=session_name” at end of you url. ‘session_name’ could be anything you want to keep.


XDebug now have their very own wizard.


All you have to do is copy and paste the contents of your phpinfo output into it. It’ll provide you with the correct library and the details that you need to add to your php.ini.

Dont forget that you have to append your URL with ?XDEBUG_SESSION_START=name to kick things off.