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) + +
| request | mode | required | optional | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| launch godoc + | debug | program | dlvCwd | env | backend | args | cwd | buildFlags | output | noDebug + |
+ substitutePath + stopOnEntry + stackTraceDepth + showGlobalVariables + showRegisters + hideSystemGoroutines + goroutineFilters + | |
| test | program | dlvCwd | env | backend | args | cwd | buildFlags | output | noDebug | |||
| exec | program | dlvCwd | env | backend | args | cwd | noDebug | |||||
| core | program corefilePath | dlvCwd | env | |||||||||
| replay | traceDirPath | dlvCwd | env | |||||||||
| attach godoc + | local | processId | backend | |||||||||
| remote | ||||||||||||