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

Xdebug for vscode.dev #704

Open
zobo opened this issue Jan 3, 2022 · 3 comments
Open

Xdebug for vscode.dev #704

zobo opened this issue Jan 3, 2022 · 3 comments

Comments

@zobo
Copy link
Contributor

zobo commented Jan 3, 2022

Research the idea of getting vscode-php-debug to work in the web version of vscode.

Docs provided @isidorn https://code.visualstudio.com/api/extension-guides/web-extensions

Since running PHP in the browser (start current script) isn't a real option and creating a TCP Listener socket is also out of the question (security sandbox) maybe websocket support in Xdebug.cloud #703 could be something to consider.

@isidorn
Copy link

isidorn commented Jan 3, 2022

Yes, I am not sure if this would be possible at all. However sounds like an interesting investigation.

@zobo
Copy link
Contributor Author

zobo commented Jan 3, 2022

Is it at all possible to have a debugger extension in vscode.dev?
The docs say

If an extension wants to provide a debugger or terminal that also work in the web extension host, a browser entry point needs to be defined

So I guess, technically possible :)

@isidorn
Copy link

isidorn commented Jan 3, 2022

Yes, it is possible. One example is mock-debug - which is a fake debugger, but still shows that it is technically possible.

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