mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
docs: clarify F12 to open debug console (#16570)
This commit is contained in:
@@ -1323,7 +1323,8 @@ for that specific session.
|
||||
- **`--sandbox`** (**`-s`**):
|
||||
- Enables sandbox mode for this session.
|
||||
- **`--debug`** (**`-d`**):
|
||||
- Enables debug mode for this session, providing more verbose output.
|
||||
- Enables debug mode for this session, providing more verbose output. Open the
|
||||
debug console with F12 to see the additional logging.
|
||||
|
||||
- **`--help`** (or **`-h`**):
|
||||
- Displays help information about command-line arguments.
|
||||
|
||||
@@ -722,7 +722,8 @@ The MCP integration tracks several states:
|
||||
|
||||
### Debugging tips
|
||||
|
||||
1. **Enable debug mode:** Run the CLI with `--debug` for verbose output
|
||||
1. **Enable debug mode:** Run the CLI with `--debug` for verbose output (use F12
|
||||
to open debug console in interactive mode)
|
||||
2. **Check stderr:** MCP server stderr is captured and logged (INFO messages
|
||||
filtered)
|
||||
3. **Test isolation:** Test your MCP server independently before integrating
|
||||
|
||||
@@ -130,7 +130,8 @@ This is especially useful for scripting and automation.
|
||||
## Debugging tips
|
||||
|
||||
- **CLI debugging:**
|
||||
- Use the `--debug` flag for more detailed output.
|
||||
- Use the `--debug` flag for more detailed output. In interactive mode, press
|
||||
F12 to view the debug console.
|
||||
- Check the CLI logs, often found in a user-specific configuration or cache
|
||||
directory.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user