Giter Site home page Giter Site logo

Comments (6)

 avatar commented on August 17, 2024 2

@reypm @maxpou This does work because we're using the xdebug.remote_connect_back setting. From the XDebug docs:

If enabled, the xdebug.remote_host setting is ignored and Xdebug will try to connect to the client that made the HTTP request. It checks the $_SERVER['HTTP_X_FORWARDED_FOR'] and $_SERVER['REMOTE_ADDR'] variables to find out which IP address to use.

from docker-symfony.

meron1122 avatar meron1122 commented on August 17, 2024 1

@reypm Host ip is not nessesary :)
Xdebug listen on port 9001 and Ide key: PHPSTORM.
Dont forget set right path mapping and cookie in browser.

from docker-symfony.

maxpou avatar maxpou commented on August 17, 2024

Hello @reypm ,

PR are welcome :)
This pull request can help you! #16

Thanks,
Maxpou

Edit: please, put your doc here: doc/xdebug.md and adapt the README file.

from docker-symfony.

reypm avatar reypm commented on August 17, 2024

@maxpou ok, I will as soon as I have a time for test all of this but I think something is missing since the Xdebug should be listening on the host IP address in other words: xdebug.remote_host = "<host_ip>" and I am not seeing such line at any config files. Maybe I am wrong, the PR and the comments aren't helpful as well

from docker-symfony.

maxpou avatar maxpou commented on August 17, 2024

@meron1122 or @cuewizchris: do you have any idea?

from docker-symfony.

reypm avatar reypm commented on August 17, 2024

@cuewizchris thanks, didn't notice that before, closing this issue now, no PR needed

from docker-symfony.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.