You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by tr...@apache.org on 2023/11/25 05:23:55 UTC
(apisix) branch release/3.7 updated: docs: Add #END to the `debug.yaml` basic snippet (#10549)
This is an automated email from the ASF dual-hosted git repository.
traky pushed a commit to branch release/3.7
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/release/3.7 by this push:
new 56a6c9899 docs: Add #END to the `debug.yaml` basic snippet (#10549)
56a6c9899 is described below
commit 56a6c9899bb4155f479d9eea7dc21acb19ea6d80
Author: Nicolas Fränkel <ni...@frankel.ch>
AuthorDate: Sat Nov 25 06:23:49 2023 +0100
docs: Add #END to the `debug.yaml` basic snippet (#10549)
---
docs/en/latest/debug-mode.md | 1 +
docs/zh/latest/debug-mode.md | 1 +
2 files changed, 2 insertions(+)
diff --git a/docs/en/latest/debug-mode.md b/docs/en/latest/debug-mode.md
index b933dfd88..86dd228e7 100644
--- a/docs/en/latest/debug-mode.md
+++ b/docs/en/latest/debug-mode.md
@@ -36,6 +36,7 @@ You can enable the basic debug mode by adding this line to your debug configurat
```yaml title="conf/debug.yaml"
basic:
enable: true
+#END
```
APISIX loads the configurations of `debug.yaml` on startup and then checks if the file is modified on an interval of 1 second. If the file is changed, APISIX automatically applies the configuration changes.
diff --git a/docs/zh/latest/debug-mode.md b/docs/zh/latest/debug-mode.md
index 7c8f66945..5f6934b20 100644
--- a/docs/zh/latest/debug-mode.md
+++ b/docs/zh/latest/debug-mode.md
@@ -28,6 +28,7 @@ title: Debug Mode
```
basic:
enable: true
+#END
```
注意:在 APISIX 2.10 之前,开启基本调试模式曾经是设置 `conf/config.yaml` 中的 `apisix.enable_debug` 为 `true`。