diff --git a/Documentation/api/dap/README.md b/Documentation/api/dap/README.md index fa906c62..a67b1d52 100644 --- a/Documentation/api/dap/README.md +++ b/Documentation/api/dap/README.md @@ -22,8 +22,34 @@ See [dap.Server.handleRequest](https://github.com/go-delve/delve/search?q=handle ## Launch and Attach Configurations In addition to the general [DAP spec](https://microsoft.github.io/debug-adapter-protocol/specification), the server supports the following implementation-specific configuration options for starting the debug session: - * [LaunchRequestArguments](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Launch) - see [LaunchConfig godoc](https://pkg.go.dev/github.com/go-delve/delve/service/dap#LaunchConfig) - * [AttachRequestArguments](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Attach) - see [AttachConfig godoc](https://pkg.go.dev/github.com/go-delve/delve/service/dap#AttachConfig) + + + + + + + + + + + + + + + +
requestmoderequiredoptional
launch
godoc +
debugprogram dlvCwdenvbackendargscwdbuildFlagsoutputnoDebug + + substitutePath
+ stopOnEntry
+ stackTraceDepth
+ showGlobalVariables
+ showRegisters
+ hideSystemGoroutines
+ goroutineFilters +
testprogram dlvCwdenvbackendargscwdbuildFlagsoutputnoDebug
execprogram dlvCwdenvbackendargscwd noDebug
coreprogram
corefilePath
dlvCwdenv
replaytraceDirPath dlvCwdenv
attach
godoc +
localprocessId backend
remote
+ Not all of the configurations are supported by each of the two available DAP servers: