From 3fb7c870149165cb70c43f8acef6a24ec9aa4d5d Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Sat, 8 Feb 2025 17:25:11 +0800 Subject: [PATCH] Update debug script (#17078) --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 97770ae97..d1807222a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,7 +59,7 @@ The implementation of `runFormatTest` can be found in [`tests/config/run-format- To debug Prettier locally, you can either debug it in Node (recommended) or the browser. -- The easiest way to debug it in Node is to create a local test file with some example code you want formatted and either run it in an editor like VS Code or run it directly via `./bin/prettier.js `. +- The easiest way to debug it in Node is to create a local test file with some example code you want formatted and either run it in an editor like VS Code or run it directly via `yarn debug `. - The easiest way to debug it in the browser is to build Prettier's website locally (see [`website/README.md`](website/README.md)). ## No New Options