vagnercardosoweb / docker-php8

Docker with php8.2+, apache, mysql, postgresql, phpmyadmin, redis, nginx and pgadmin
MIT License
114 stars 164 forks source link

Make x-debug connect to external remote #13

Closed Iyadhfaleh closed 4 weeks ago

Iyadhfaleh commented 3 months ago

Hello ,

Recently I tested the stack and it worked very well , but I had a problem when I'm trying to use x-debug . Also As a PHP developer I prefer that XDEBUG disabled by default and enable it when needing .

I prepared a PR for this proposition .

vagnercardosoweb commented 3 months ago

@Iyadhfaleh

Ok, feel free to open the PR. I kept it as the default, in case anyone who uses it in production or doesn't like it, they would deactivate it.

One question: What would be the problem encountered?

Iyadhfaleh commented 3 months ago

@vagnercardosoweb For the problem , x-debug can't reach clients listeners outside the container like PHPStorm . I couldn't push the PR because I don't have enough permissions to do that

vagnercardosoweb commented 3 months ago

@Iyadhfaleh

Open a PR, which I will review.

I don't understand about permission.

vagnercardosoweb commented 4 weeks ago

closed, due to lack of activation.