Add Xdebug to default docker configuration file

Helo everyone. Is there any tutorial or info how to add xdebug to default docker configuration?