From 3873829f8facbd05271b5769747b3ce1e130b3e8 Mon Sep 17 00:00:00 2001 From: KeisukeYamashita <19yamashita15@gmail.com> Date: Tue, 13 Feb 2024 18:07:19 +0100 Subject: [PATCH] feat(web): add debug instructure for config load Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com> --- web/src/content/docs/setup/debug.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web/src/content/docs/setup/debug.md b/web/src/content/docs/setup/debug.md index 7292dfb..be48ede 100644 --- a/web/src/content/docs/setup/debug.md +++ b/web/src/content/docs/setup/debug.md @@ -5,8 +5,18 @@ description: Debug your configurations You maybe wondering how you can debug your configurations. This is a common question and we have a few options for you to consider. +## Debugging how a rule works + Debug your configuration using stdin and below: ```console echo "feat(other): debug" | commitlint ``` + +## Debugging your configuration + +You can debug how your configuration is being loaded and what rules are being used by running the following command: + +```console +commitlint --print-config +```