diff --git a/README.md b/README.md index 226670403..09b6cd401 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,10 @@ The Chrome DevTools MCP server supports the following configuration option: - **Type:** string - **Choices:** `stable`, `canary`, `beta`, `dev` +- **`--logFile`** + Path to a file to write debug logs to. Set the env variable `DEBUG` to `*` to enable verbose logs. Useful for submitting bug reports. + - **Type:** string + Pass them via the `args` property in the JSON configuration. For example: diff --git a/src/cli.ts b/src/cli.ts index 559c39f06..df07bfadb 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -51,8 +51,8 @@ export const cliOptions = { }, logFile: { type: 'string' as const, - describe: 'Save the logs to file.', - hidden: true, + describe: + 'Path to a file to write debug logs to. Set the env variable `DEBUG` to `*` to enable verbose logs. Useful for submitting bug reports.', }, };