Skip to content

Instantly share code, notes, and snippets.

@stefanopulze
Created February 3, 2022 08:26
Show Gist options
  • Save stefanopulze/8c531e1a10479aeb1eb2ea9371975c8c to your computer and use it in GitHub Desktop.
Save stefanopulze/8c531e1a10479aeb1eb2ea9371975c8c to your computer and use it in GitHub Desktop.
PHP Xdebug

How to enable Xdebug

First install xdebug

pecl install xdebug

Then find php ini configuration

php --ini

then create new file ext-debug.ini in conf.d folder

xdebug.mode = debug
xdebug.client_host = localhost
xdebug.client_port = 9003
xdebug.idekey = PHPSTORM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment