You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shenyu.apache.org by "邪龙(dragon-zhang)" <19...@qq.com.INVALID> on 2022/07/16 15:24:48 UTC

add debug information to troubleshoot problems quickly

Dear community:


I submitted PR[1] to help gateway developers quickly troubleshoot problems.


After enabling this feature, the information of metadata, selector and rule (in JSON format) will be written in the response header,


which&nbsp;is very effective in troubleshooting problems.


Two conditions are required to enable this feature:
1. `shenyu.debug.enable=true` is configed in `application.yml` of `shenyu-bootstrap`;
2. set `debug` request header to `true` or `enable`;


If you are free, please check the PR[1].


If you have a better idea, please leave a message.

Looking forward to your reply.
dragon-zhang



[1]&nbsp;https://github.com/apache/incubator-shenyu/pull/3715