Documentation
¶
Overview ¶
Package dap is ant dap, the debug adapter: it serves the Debug Adapter Protocol on a stream and runs one program under the interpreter's debugger, in its own process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
Serve serves one debug session on in and out until the client disconnects, logging to log. It returns the command's exit status.
func ServeFS ¶ added in v0.3.1
ServeFS is Serve for a program whose modules are in fsys instead of the operating system's files, as where there are none, on js/wasm: the program, the sources of breakpoints and the stdin file are then paths in fsys, with or without a leading slash, and the environment is the launch's env alone. A nil fsys is the operating system.
Types ¶
This section is empty.