Gitpod: Web Debugger

Created on 11 Sep 2019  路  4Comments  路  Source: gitpod-io/gitpod

If Gitpod could enable its debugger to talk to the local server previe in the same way I can use the Chrome Debugger extension in VS Code, it would be game changing. I imagine this would be herculean task, but it would be so cool.

enhancement question theia

Most helpful comment

Could we implement the chrome extension? It can communicate with the page and chrome debugger API.

All 4 comments

Interesting idea! Thanks for suggesting it. 馃挴

Have you tried to install the Chrome Debugger extension in Gitpod? If that doesn't work, please file a bug against Theia, specifying which extension you tried to install, and what problems/bugs you encountered.

With a bit of luck, getting it work might turn out less herculean than expected. 馃槃

The issue is that we don't have access to the local chrome process from within Gitpod.
So we would need to route the debug protocol somehow.
I know that, for instance, Arduino does that by launching a small proxy locally that the website can connect to through a websocket.

Could we implement the chrome extension? It can communicate with the page and chrome debugger API.

That sounds like a pretty good idea.

Was this page helpful?
0 / 5 - 0 ratings