mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Remove --workspace npm run debug command in README
This commit is contained in:
@@ -47,7 +47,7 @@ To debug the CLI application using VS Code:
|
|||||||
|
|
||||||
1. Start the CLI in debug mode from the root directory:
|
1. Start the CLI in debug mode from the root directory:
|
||||||
```bash
|
```bash
|
||||||
npm run debug --workspace=gemini-code-cli
|
npm run debug
|
||||||
```
|
```
|
||||||
This command runs `node --inspect-brk dist/gemini.js` within the `packages/cli` directory, pausing execution until a debugger attaches.
|
This command runs `node --inspect-brk dist/gemini.js` within the `packages/cli` directory, pausing execution until a debugger attaches.
|
||||||
2. In VS Code, use the "Attach" launch configuration (found in `.vscode/launch.json`). This configuration is set up to attach to the Node.js process listening on port 9229, which is the default port used by `--inspect-brk`.
|
2. In VS Code, use the "Attach" launch configuration (found in `.vscode/launch.json`). This configuration is set up to attach to the Node.js process listening on port 9229, which is the default port used by `--inspect-brk`.
|
||||||
|
|||||||
Reference in New Issue
Block a user