You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -268,13 +268,19 @@ You should copy that config to your opencode config file.
268
268
269
269
## Debugging Antigravity Requests
270
270
271
-
Set `OPENCODE_ANTIGRAVITY_DEBUG=1` to capture Antigravity request/response logs. Logs are written to `antigravity-debug-<ISO>.log` in the current working directory.
271
+
Use OpenCode's built-in logging to debug Antigravity requests:
272
272
273
273
```bash
274
-
OPENCODE_ANTIGRAVITY_DEBUG=1 opencode
274
+
opencode --log-level DEBUG --print-logs
275
275
```
276
276
277
-
Authorization headers are redacted; payload previews are truncated to 2 KB.
277
+
Or just set the log level and check the log files:
278
+
279
+
```bash
280
+
opencode --log-level DEBUG
281
+
```
282
+
283
+
Log files are stored in `~/.local/share/opencode/logs/` (or `$XDG_DATA_HOME/opencode/logs/`).
0 commit comments