membphis commented on issue #1362: request help: How to dump variable data for 
debugging
URL: 
https://github.com/apache/incubator-apisix/issues/1362#issuecomment-605741018
 
 
   There are two ways:
   
   1. Use `json`.encode, the easiest, but not very convenient when viewing
   2. Convert the request data into a hex string and output it in a format 
similar to `tcpdump`
   
   ```
   00000000  3f ee 8f 50 a0 2b ce d9  fd 5b 6d 15 08 b0 55 5a   ?..P.+.. 
.[m...UZ
   00000010  aa 49 06 b4 e3 29 e4 af  90 56 8e e9 b7 2f 6a 36   .I...).. 
.V.../j6
   00000020  b5 4c d7 4e 8b f5 26 01  b8 ef 03 dc 3f 45 4d 97   .L.N..&. 
....?EM.
   00000030  e8 5f a5 77 0f 69 cb e8  c9 f9 a3 e5               ._.w.i.. ....
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to