Files
buildx/monitor/dap/io_nolinux.go
Kohei Tokunaga 37763ec29f Support breakpoint debugger integrated to IDEs
This commit adds the IDE-integrated breakpoint debugger based on walker.
Now buildx provides DAP (Debug Adapter Protocol) API to IDEs so DAP-aware IDEs
can call buildx and allow users to perform breakpoint-based debugging on the
IDE's UI/UX.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2023-06-30 22:57:57 +09:00

19 lines
410 B
Go

//go:build !linux
package dap
import (
"context"
"io"
"github.com/pkg/errors"
)
func AttachContainerIO(root string, stdin io.Reader, stdout, stderr io.Writer, setTtyRaw bool) error {
return errors.Errorf("unsupported")
}
func serveContainerIO(ctx context.Context, root string) (io.ReadCloser, io.WriteCloser, io.WriteCloser, func(), error) {
return nil, nil, nil, nil, errors.Errorf("unsupported")
}