Skip to content

Commit 0fe3896

Browse files
authored
refactor: set process titles for easier debugging (#1770)
Refs #1765
1 parent bec9dae commit 0fe3896

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/bin/chrome-devtools-mcp.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* SPDX-License-Identifier: Apache-2.0
77
*/
88

9+
process.title = 'chrome-devtools-mcp';
10+
911
import {version} from 'node:process';
1012

1113
const [major, minor] = version.substring(1).split('.').map(Number);

src/bin/chrome-devtools.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* SPDX-License-Identifier: Apache-2.0
77
*/
88

9+
process.title = 'chrome-devtools';
10+
911
import process from 'node:process';
1012

1113
import type {Options, PositionalOptions} from 'yargs';

0 commit comments

Comments
 (0)