Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
development:php:xdebug [2020/03/03 12:24]
kalenpw [Installation]
development:php:xdebug [2021/06/29 15:15] (current)
kalenpw
Line 14: Line 14:
 <code ini> <code ini>
 [xdebug] [xdebug]
-   zend_extension = /usr/lib/php/20180731/xdebug.so+   zend_extension = /usr/lib/php/20180731/xdebug.so ; locate xdebug.so to find your path
    xdebug.remote_enable = 1    xdebug.remote_enable = 1
    xdebug.remote_autostart = 1    xdebug.remote_autostart = 1
Line 20: Line 20:
    xdebug.remote_host = On    xdebug.remote_host = On
    xdebug.default_enable = 1    xdebug.default_enable = 1
-   xdebug.remote_port = 9900+   xdebug.remote_port = 9900 ; default is 9000
    xdebug.profiler_enable = 1    xdebug.profiler_enable = 1
    xdebug.remote_connect_back = 1    xdebug.remote_connect_back = 1
 </code> </code>
 +
 +Note: you likely need to restart php and nginx
 +<code bash>
 +#linux, if using fpm
 +sudo service php7.3-fpm restart
 +
 +# mac
 +sudo brew services restart php@7.1
 +</code>
 +
 +----