Download xdebug docker vscode10/22/2023 In your project, go to the debugger and hit the little gear icon and choose PHP. Verify your installation by checking your phpinfo() output for an Xdebug section. If you are doing web development, don't forget to restart your webserver to reload the settings. Please note that the default Xdebug port changed between Xdebug v2 to v3 from 9000 to 9003. There are also a variety of other options, like the port, please see the Xdebug documentation on remote debugging for more information. I recommend remote_autostart (Xdebug v2)/ start_with_request (Xdebug v3) because it "just works". There are other ways to tell Xdebug to connect to a remote debugger, like cookies, query parameters or browser extensions. The path of your php.ini is shown in your phpinfo() output under "Loaded Configuration File". 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.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |