From 4dfcd5297fb7684141e864ce1c0e8e7f1b77656e Mon Sep 17 00:00:00 2001 From: Andrew Porter Date: Sat, 14 Mar 2026 14:11:36 -0700 Subject: [PATCH] Update docs/help/debugging.md Another greptile suggestion Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- docs/help/debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/help/debugging.md b/docs/help/debugging.md index 2f9aa2c4fc1..8a7a118ef59 100644 --- a/docs/help/debugging.md +++ b/docs/help/debugging.md @@ -178,7 +178,7 @@ The OpenClaw project uses `tsdown` to bundle TypeScript code into JavaScript for 1. Enable debugging support in the `tsdown` configuration and rebuild: - Set `OUTPUT_SOURCE_MAPS` to `true` in `tsdown.config.ts` - - Run `npx rimraf dist && pnpm build` to rebuild the project + - Run `node -e "require('fs').rmSync('dist', {recursive: true, force: true})" && pnpm build` to rebuild the project 2. Open the `Run and Debug` panel from the Activity Bar or press `Ctrl`+`Shift`+`D` 3. Select one of the debug configurations from the dropdown 4. Press the "Start Debugging" button next to the dropdown or press `F5`