View Issue Details

IDProjectCategoryView StatusLast Update
0002279XdebugStep Debuggingpublic2024-07-10 16:09
Reporterlgersman Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityunable to reproduce
Status resolvedResolutionwon't fix 
Summary0002279: [Feature request] WebSocket as alternative connection method
Description

Hi,

there is a WordPress project called wp-now (https://github.com/WordPress/playground-tools) running PHP / SQLite / WordPress in the browser.

Thanks to WebAssembly it works like a charm !

But one of the key points missing in this xdebug support since opening a TCP connection out of the browser is right now impossible.

Why not adding WebSocket support to xdebug ? WebSockets as xdebug communication medium opens up a whole world of new options.

What do you think ?

Tagsdebug
Operating System
PHP Version8.2.0-8.2.9

Activities

derick

2024-07-10 16:09

administrator   ~0006991

Hi,

Why not adding WebSocket support to xdebug ?

This is a really big task.

Not only would I need to do this on the Xdebug side, PHP IDEs such as PhpStorm and the VS Code Plugin would also need to support this.

I can't currently see a situation in which I would want to add this — sorry.

cheers,
Derick

Issue History

Date Modified Username Field Change
2024-07-01 14:14 lgersman New Issue
2024-07-01 14:14 lgersman Tag Attached: C:\Users\pietrolettig\Documents\Java\php\info.html
2024-07-01 14:14 lgersman Tag Attached: debug
2024-07-01 14:15 lgersman Tag Detached: C:\Users\pietrolettig\Documents\Java\php\info.html
2024-07-10 16:07 derick Severity minor => feature
2024-07-10 16:07 derick Category dbgpClient => Step Debugging
2024-07-10 16:09 derick Assigned To => derick
2024-07-10 16:09 derick Status new => resolved
2024-07-10 16:09 derick Resolution open => won't fix
2024-07-10 16:09 derick Note Added: 0006991