-
-
Notifications
You must be signed in to change notification settings - Fork 647
Issue #1171: Allow client to pass PHP and XDEBUG environemnt variables over SSH #1189
Conversation
@oxyc - Can you document somewhere how to use this? |
I'll try and play around with some examples for this during the weekend but I'm now thinking that maybe it's useful to have this set by a config option instead. It could be useful outside the realm of xdebug and seems odd that it's depending on it. Maybe add when: ssh_accept_php_vars and not extra_security_enabled Or simply toggle it off if |
@oxyc just hit me that i commented on the #716 (comment) and that was closed all ready. So wouldn't it be better that ansible generated those lines to the vagrant users bashrc and based them on the config.yaml settings. |
I don't think they should be hardcoded to be honest. I feel it's better if especially |
I applied for a PhpStorm OpenSource license, let's see if I get it before the weekend and I can do some testing. |
I quickly remembered why I'm still using vim... I have to postpone getting into this whole IDE thing... |
@oxyc - You and me both. Getting Xdebug happy through an IDE with PHP reminds me of developing for Java... way overcomplicated just to print out a variable :P |
For me getting xdebug working with Vim would be problematic also :). Anyways the phpstorms https://www.jetbrains.com/help/phpstorm/2016.3/zero-configuration-debugging.html is quite a breez to configure but the documentation for it is way overly verbose. I could translate my guide on getting phpstorm to work somewhat right in 5 steps tomorrow. |
Is this still necessary/required? I have things working with Sublime Text 3 without needing to set any additional vars like those in the PR... I'm still not entirely clear on why this is required... but I also don't use PHPStorm much. |
I think this PR is for CLI XDEBUG via SSH. |
no objections. it would be helpful and appreciated. thanks! |
I'd like some form of docs (even if it's just inline in a comment on this PR) before merging, though. |
I verified that the above examples work (after stumbling around because the ssh service isn't restarted on changes). |
Probably better to use |
Restarted build, hopefully it comes back all green this time. |
todo: docs