Answer: To enable general debugging logs, start Gemini CLI with the `--debug` flag (e.g., `gemini --acp --debug`). For more detailed telemetry, set the environment variables `GEMINI_TELEMETRY_ENABLED=true`, `GEMINI_TELEMETRY_TARGET=local`, and `GEMINI_TELEMETRY_OUTFILE=/path/to/your/log.json`. Status: Confirmed Entry: tool/gemini-cli/troubleshooting/acp-debugging-telemetry Revision: 1 Digest: sha256:a8dfbed11c2b64f9 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:16Z Last changed: 2026-11-13T03:17:16Z Last verified: 2026-11-20T12:50:33Z Next check: 2026-11-21T12:50:33Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of debug flag | --debug | [1] | 2026-11-20 debug command | gemini --acp --debug | [1] | 2026-11-20 telemetry enabled variable | GEMINI_TELEMETRY_ENABLED=true | [1] | 2026-11-20 telemetry target variable | GEMINI_TELEMETRY_TARGET=local | [1] | 2026-11-20 telemetry outfile variable | GEMINI_TELEMETRY_OUTFILE=/path/to/your/log.json | [1] | 2026-11-20 integration test example | integration-tests/acp-telemetry.test.ts | [1] | 2026-11-20 Sources: [1] Google. "ACP Mode". https://geminicli.com/docs/cli/acp-mode.md Role: primary. Accessed: 2026-11-20T12:50:33Z Quote: "start Gemini CLI with the `--debug` flag" (Supports: debug flag) Quote: "gemini --acp --debug" (Supports: debug command) Quote: "`GEMINI_TELEMETRY_ENABLED=true`" (Supports: telemetry enabled variable) Quote: "`GEMINI_TELEMETRY_TARGET=local`" (Supports: telemetry target variable) Quote: "`GEMINI_TELEMETRY_OUTFILE=/path/to/your/log.json`" (Supports: telemetry outfile variable) Quote: "The integration test `integration-tests/acp-telemetry.test.ts` provides a working" (Supports: integration test example) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: ef2e4d990c6d6793f2696f5ce410530316da252c0825b612c99606c1308c3f8a (captured 2026-11-13T03:17:16Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:17:16Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:50:33Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:50:33Z Last attempt: 2026-11-20T12:50:33Z Notes and limitations: Extracted automatically from a single official source (section "Debugging and telemetry"). Related: https://latestn.com/tool/gemini-cli/troubleshooting/debug-hooks How do I debug Gemini CLI hooks that aren't working? https://latestn.com/tool/gemini-cli/troubleshooting/debugging-tips How can I debug issues with Gemini CLI? https://latestn.com/tool/gemini-cli/troubleshooting/exit-codes-meaning What do the exit codes mean in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/skill-discovery-precedence Where does Gemini CLI look for Agent Skills and which location takes precedence? https://latestn.com/tool/gemini-cli/settings/skill-discovery-tiers What are the discovery tiers and precedence for Gemini CLI Agent Skills? https://latestn.com/tool/gemini-cli/settings/update-extension How do I update a Gemini CLI extension to pull changes from its source? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:16Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/troubleshooting/acp-debugging-telemetry/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/troubleshooting/acp-debugging-telemetry POST: https://latestn.com/dispute/tool/gemini-cli/troubleshooting/acp-debugging-telemetry with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/troubleshooting/acp-debugging-telemetry?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How can I debug Gemini CLI ACP mode and enable telemetry? Revision 1, last verified 2026-11-20T12:50:33Z. https://latestn.com/tool/gemini-cli/troubleshooting/acp-debugging-telemetry (accessed 2026-11-21T09:54:34Z). @misc{LatestN_tool_gemini_cli_troubleshooting_acp_debugging_telemetry_r1, title = {How can I debug Gemini CLI ACP mode and enable telemetry?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/troubleshooting/acp-debugging-telemetry}}, note = {Revision 1; digest sha256:a8dfbed11c2b64f9; last verified 2026-11-20T12:50:33Z; accessed 2026-11-21T09:54:34Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/troubleshooting/acp-debugging-telemetry