microsoft / vscode-debugadapter-node

Debug adapter protocol and implementation for VS Code.
Other
271 stars 77 forks source link

Would you consider exporting `ProtocolClient`? #232

Closed eliben closed 4 years ago

eliben commented 4 years ago

We have a need to write DAP middleware and are looking for a DAP client. The ProtocolClient class in testSupport/src/protocolClient.ts fits the bill but it's not exported. DebugClient is exported but it seems very much tied to a testing lifecycle.

Would you consider exporting ProtocolClient, or is it only meant for testing scenarios and we should develop our own client for other purposes?

roblourens commented 4 years ago

It's only meant for testing, but you might fork that code as a starting point for whatever you want to do.