TracerBench / chrome-debugging-client

An async / await friendly debugging client for chrome
BSD 2-Clause "Simplified" License
134 stars 19 forks source link

forkWithWebSocket #211

Open samdoeswork opened 3 years ago

samdoeswork commented 3 years ago

Hi, I'm very interested in this library - but there's an issue.

We need the childprocess.fork method rather than childprocess.spawn, because we need the additional comms channel.

Looks like the newProcessWithWebSocketUrl would need to be replicated as newForkWithWebSocketUrl - replacing the execa call with a childprocess.fork call -- but I'm not sure how to do this while keeping all the other things intact.

Would you consider supporting fork?

krisselden commented 2 years ago

@samdoeswork sorry it took so long, I tried my best to make it so interfaces decoupled all the node specific things.