yzeng25 commented on code in PR #7544:
URL: https://github.com/apache/apisix/pull/7544#discussion_r930653787


##########
docs/en/latest/debug-mode.md:
##########
@@ -0,0 +1,137 @@
+---
+id: debug-mode
+title: Debug mode
+keywords:
+  - API gateway
+  - Apache APISIX
+  - Debug mode
+description: Guide for enabling debug mode in Apache APISIX.
+---
+
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
+You can use APISIX's debug mode to troubleshoot your configuration.

Review Comment:
   ```suggestion
   You can use APISIX's debug mode to troubleshoot your configurations.
   ```



##########
docs/en/latest/debug-mode.md:
##########
@@ -0,0 +1,137 @@
+---
+id: debug-mode
+title: Debug mode
+keywords:
+  - API gateway
+  - Apache APISIX
+  - Debug mode
+description: Guide for enabling debug mode in Apache APISIX.
+---
+
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
+You can use APISIX's debug mode to troubleshoot your configuration.
+
+## Basic debug mode
+
+You can enable the basic debug mode by adding this line to your debug 
configuration file (`conf/debug.yaml`):
+
+```yaml title="conf/debug.yaml"
+basic:
+  enable: true
+```
+
+:::note
+
+For APISIX releases priot to v2.10, basic debug mode is enabled by setting 
`apisix.enable_debug = true` in your configuration file (`conf/config.yaml`).

Review Comment:
   typo
   ```suggestion
   For APISIX releases prior to v2.10, basic debug mode is enabled by setting 
`apisix.enable_debug = true` in your configuration file (`conf/config.yaml`).
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to