socketsupply / socket

A cross-platform runtime for Web developers to build desktop & mobile apps for any OS using any frontend library.
https://socketsupply.co/guides
Other
1.6k stars 75 forks source link

attaching a remote inspector / debugger #949

Open chrisfarms opened 6 months ago

chrisfarms commented 6 months ago

feature request

I would like to be able to attach to a running (--debug) instance of a desktop socket app using a remote debugging port.

The builtin inspector is very useful, preferred even in some cases, but it is a pain to constantly open it, and it's nicer to have breakpoints work in my editor than using the inspector tools.

something like running with ssc run --remote-debugging-port=9225 to expose the V8 inspector protocol endpoint for the app to remote control the web inspector.

This would allow external tools to attach easily.

related