Discussion Others PHP

Laradock and Xdebug

Mostly we use laradock or homested for laravel projects.

But it has some problem for implementation of xdebug.

xdebug is powerful tool to speed up development.

So, most developers want to enable xdebug on laradock.

Actually laradock provides xdebug option. but it is disable by default.

We can just enable the option.

WORKSPACE_INSTAL_WORKSPACE_SSH=true

WORKSPACE_INSTALL_XDEBUG=TRUE

PHP_FPM_INSTALL_XDEBUG=TRUE

Please change end file by the option.

And build container again.

It will work always.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *