Open pcj opened 3 years ago
This repo offers a way decode DAP-encoded bytes into Go types and back. The io library operates on bufio.Reader
and io.Writer
interface, which don't specify where the bytes are coming from (network connection, stdin/out, etc). Unfortunately, we currently only have a server connection example, but we would welcome a PR with a stdin/stdout example. For example, you could use bufio.NewReader(os.Stdin)
.
It appears straightforward to use this as a
vscode.DebugAdapterServer
(e.glocalhost:4711
), but also looking to use this for avscode.DebugAdapterExecutable
that uses stdin/stdout for the protocol communication. Is is supported? Example?