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

Autoinstall - a very simple and important feature #817

Open
ttodua opened this issue Jul 21, 2022 · 2 comments
Open

Autoinstall - a very simple and important feature #817

ttodua opened this issue Jul 21, 2022 · 2 comments

Comments

@ttodua
Copy link

ttodua commented Jul 21, 2022

Hi, thanks for extension.
(i am not well-versed in VSCode extensions, otherwise i would have made a PR instead of issue)
There is a very simple and important thing you can do - in readme you describe the whole process of installing xdebug manually. it's 2022 and we are still doing manual actions to download/install/etc, so, if you can, please take a step forward and do this if you can:

  1. check php PATH environment variable to determine the php path
  2. run phpinfo() in the background
  3. send output to https://xdebug.org/wizard
  4. download the suggested file and move to the needed location, rename file
  5. update php.ini as written there (if it needs to be updated at all).

That will do the job. which 7million ppl seems to be doing manually.
thanks.

@zobo
Copy link
Contributor

zobo commented Jul 21, 2022

Hi @ttodua, thanks for the message.

Indeed this is on the "roadmap", almost exactly as you described it. I already started talks with Derick of Xdebug to implement an API interface for checks against the wizard page.

On windows this is a matter of downloading a .dll. On Linux systems it's usually a matter of the right package manager. On MacOS maybe brew?

This is the related task #672

@ttodua
Copy link
Author

ttodua commented Jul 21, 2022

Exactly, on first thought I wondered whether there might appear api-like endpoint for it, and good you have talked with him. hoping that day will come soon. even though that 'wizard' page kinda made process a bit easier for ppl, still, enabling the debugger and downloading packages manually and the setup process... has been struggling for decades.

about OS - I am mostly on Windows and can't say about other packages to be honest, but I hope you will find a correct path for that.
Thanks for the work.

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

No branches or pull requests

2 participants