Skip to content

Commit 22ec7ee

Browse files
authored
fix: expose --debug-file argument (#164)
1 parent 2dbdd2d commit 22ec7ee

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ The Chrome DevTools MCP server supports the following configuration option:
201201
- **Type:** string
202202
- **Choices:** `stable`, `canary`, `beta`, `dev`
203203

204+
- **`--logFile`**
205+
Path to a file to write debug logs to. Set the env variable `DEBUG` to `*` to enable verbose logs. Useful for submitting bug reports.
206+
- **Type:** string
207+
204208
<!-- END AUTO GENERATED OPTIONS -->
205209

206210
Pass them via the `args` property in the JSON configuration. For example:

src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export const cliOptions = {
5151
},
5252
logFile: {
5353
type: 'string' as const,
54-
describe: 'Save the logs to file.',
55-
hidden: true,
54+
describe:
55+
'Path to a file to write debug logs to. Set the env variable `DEBUG` to `*` to enable verbose logs. Useful for submitting bug reports.',
5656
},
5757
};
5858

0 commit comments

Comments
 (0)