Or see if your distribution already offers prebuilt packages.Ĭonfigure PHP to use Xdebug by adding zend_extension=path/to/xdebug to your php.ini. On Linux: Either download the source code as a tarball or clone it with git, then compile it.On Windows: Download the appropriate precompiled DLL for your PHP version, architecture (64/32 Bit), thread safety (TS/NTS) and Visual Studio compiler version and place it in your PHP extension folder.It will analyze it and give you tailored installation instructions for your environment. Install Xdebug I highly recommend you make a simple test.php file, put a phpinfo() statement in there, then copy the output and paste it into the Xdebug installation wizard. dll on Windows) that needs to be installed on your server. This extension is a debug adapter between VS Code and Xdebug by Derick Rethans. Install the extension: Press F1, type ext install php-debug. If you find this extension useful, if it helps you solve your problems and if you appreciate the support given here, consider sponsoring our work. Learn More Sponsor PHP Debug Adapter for Visual Studio Code Use jump-to-definition, your favorite keybindings, and code intelligence with more of your workflow. Manage pull requests and conduct code reviews in your IDE with full source-tree context.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |