File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -157,14 +157,17 @@ To use the delve debugger for Go with VSCode to debug `gapis`. These steps can b
157
157
...
158
158
}
159
159
```
160
- A sample ` <host> ` can be ` 127.0.0.1 ` and ` <port> ` can be ` 1234 ` .
160
+ As an example, ` <host> ` could be ` 127.0.0.1 ` and ` <port> ` could be ` 1234 ` .
161
161
162
162
4 . Start delve in headless mode at gapid check-in folder.
163
163
```
164
164
dlv exec --headless --listen=<host>:<port> --api-version 2 ./bazel-bin/pkg/gapis -- <gapis-arguments>
165
165
```
166
166
167
- This will allow using port ` 1234 ` (or any other preferred port) to connect to delve from VSCode.
167
+ The command below will allow using port ` 1234 ` (or any other preferred port) to connect to delve from VSCode.
168
+ ```
169
+ dlv exec --headless --listen=127.0.0.1:1234 --api-version 2 ./bazel-bin/pkg/gapis -- -persist -rpc localhost:8888
170
+ ```
168
171
169
172
5 . Start debugging with ` Debug->Start Debugging ` (on Linux with ` F5 ` ) and make sure ` Attach to Delve ` is selected as the launch configuration.
170
173
You can’t perform that action at this time.
0 commit comments