Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set x-forwarded-for #22

Closed
wants to merge 2 commits into from
Closed

Conversation

mattschlosser
Copy link

Closes #16

This allows you to set a connect back IP other than your browser, so you can use this in remote environments, such as when you are debugging on another machine, such as Remote SSH on VS Code.

Matt Schlosser and others added 2 commits July 2, 2020 11:01
…ugger is

 on a remote instance (e.g. a vscode ssh session)

By settings the X-Forwarded-For, this will tell XDebug to connect back to
that ip vs the one the request actually came from. This trick can be used
to tell XDebug that it should connect to your remote VS Code instasnce which
is on a different IP than the computer you are accsesing the PHP site from.
@mattschlosser mattschlosser marked this pull request as draft October 6, 2020 21:34
@BrianGilbert BrianGilbert deleted the branch BrianGilbert:master July 19, 2023 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set X-Forwarded-For header
2 participants