

Xdebug.remote_port setting has to be the same as in PHP Tools options (in Visual Studio, Tools | Options | PHP Tools | Advanced).

Update PHP ConfigurationĮdit PHP Configuration file. PHP extensions folder is usually located within your PHP runtime, in ext subfolder.Ĭopy downloaded Xdebug binaries into the PHP extensions folder. Copy Xdebug binary to your PHP Extensions Folder

It will give you the correct version to download. You can copy and paste your phpinfo output. You can also use the tool provided by Xdebug developers: Xdebug Wizard. It is strongly recommended to use the non-thread safe (NTS) version on Windows. Choose the Right Xdebug BinariesĬhoose the version depending on your PHP version. The Xdebug PHP extension is required to allow PHP Tools to integrate debugging features into Visual Studio.
