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

Support communication with the debugged process over UNIX-domain sockets #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mbarbon
Copy link
Contributor

@mbarbon mbarbon commented Nov 3, 2014

I'd like to add the option for the debugger to listen on an Unix-domain socket, to avoid having a TCP port open by the debugger on a shared server (I can restrict access to the Unix-domain socket via Unix permissions).

The patch also updates the documentation.

@joonty
Copy link
Collaborator

joonty commented Nov 5, 2014

This is great, and something that's been on my mind to do for a while.

I'll give it a test and get back to you soon. Thanks a lot!

@lkraav
Copy link

lkraav commented Dec 31, 2014

Did this go anywhere? Anyone been running it in production?

@mbarbon
Copy link
Contributor Author

mbarbon commented Jan 1, 2015

It has not been merged; I'm using the patched version

@lkraav
Copy link

lkraav commented Jan 1, 2015

Yeah, either way I'm not sure this works for xdebug php module anyway. I did not see any socket communication options for configuration.

@joonty
Copy link
Collaborator

joonty commented Aug 24, 2015

Hi,

I've done some playing around with this and I'm pretty sure @lkraav is right about Xdebug not supporting unix sockets. @mbarbon what language are you debugging with?

@joonty joonty added the on hold label Aug 24, 2015
@mbarbon
Copy link
Contributor Author

mbarbon commented Aug 24, 2015

I'm using a patched version of ActiveState Komodo debuggin helper for Perl

@joonty
Copy link
Collaborator

joonty commented Aug 24, 2015

Ah I see. Do you need to use Unix sockets instead of tcp sockets?
Basically, what's your inspiration behind this PR? Thanks

On Mon, 24 Aug 2015 19:10 Mattia Barbon [email protected] wrote:

I'm using a patched version of ActiveState Komodo debuggin helper for Perl


Reply to this email directly or view it on GitHub
#190 (comment).

@mbarbon
Copy link
Contributor Author

mbarbon commented Aug 28, 2015

I want the option of not having an "execute arbitrary code as a different user" port open while I am debugging (because of a partially shared development environment).

I realize it's not the common case, it just seemed a nice option to have.

@joonty
Copy link
Collaborator

joonty commented Sep 4, 2015

I'm going to keep this one on ice for now - I'll look at implementing it in version 2, as I don't want to add any more features to version 1. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants