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

PHP Remote Interpreter #43636

Closed
aftabnaveed opened this issue Feb 14, 2018 · 7 comments
Closed

PHP Remote Interpreter #43636

aftabnaveed opened this issue Feb 14, 2018 · 7 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) php PHP support issues

Comments

@aftabnaveed
Copy link

PHPStorm has an awesome support for remote PHP Interpreters. You can develop on a Windows PC or a Mac while running and debugging on a remote Linux server. PHPStorm has this feature out of the box
https://www.jetbrains.com/help/phpstorm/configuring-remote-php-interpreters.html.

Having a remote interpreter allows you to use other cool PHP utilities such as phpcs, composer and many others.

Remote interpreters can either be integrated using Docker containers or via SSH. This is something which is holding us back from VSCODE.

@vscodebot vscodebot bot added the php PHP support issues label Feb 14, 2018
@roblourens
Copy link
Member

This is covered by #29194

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 14, 2018
@vscodebot
Copy link

vscodebot bot commented Feb 14, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@aftabnaveed
Copy link
Author

Well, this not the same, executing code on the remote server is different than just exploring files on it.

@roblourens
Copy link
Member

That issue covers a bunch of remote language server scenarios. Remote debugging is already supported by this php debug extension: https://github.com/felixfbecker/vscode-php-debug

I think the two of those should cover all of PHPstorm's remote cases?

@aftabnaveed
Copy link
Author

aftabnaveed commented Feb 14, 2018

That is an XDebug feature which is not specifically related to VsCode. However, I found similar issue created for python here microsoft/vscode-python#79.

Executing code on remote allows you to run other utilities such as PHP code sniffer and composer on the server. Most people use either docker or Vagrant environments for their projects.

@roblourens
Copy link
Member

Sure, those will either come with the first issue I posted (remote language server, extension host, etc) or could be handled as 1-offs by extensions. I don't foresee any specific support in vscode core for this, our builtin PHP support is very simple and we leave everything else up to extensions.

@aftabnaveed
Copy link
Author

I see remote code execution to be shared among different environments and almost all JetBrain IDEs such as Webstorm, PHPStorm, PyCharm, Rubymin etc has this feature by default that's why I thought it is something in the core of the JetBrain IDEs which is shared and available among all its platforms.

Anyway, I thought this is something which would have been nice to have.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) php PHP support issues
Projects
None yet
Development

No branches or pull requests

2 participants