浏览代码

debugging instructions in README

Alex Cheema 1 年之前
父节点
当前提交
e049f701ce
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      README.md

+ 8 - 1
README.md

@@ -101,11 +101,18 @@ curl http://localhost:8000/v1/chat/completions \
    }'
    }'
 ```
 ```
 
 
-
 ```sh
 ```sh
 curl -X POST http://localhost:8001/api/v1/chat -H "Content-Type: application/json" -d '{"messages": [{"role": "user", "content": "What is the meaning of life?"}]}'
 curl -X POST http://localhost:8001/api/v1/chat -H "Content-Type: application/json" -d '{"messages": [{"role": "user", "content": "What is the meaning of life?"}]}'
 ```
 ```
 
 
+## Debugging
+
+Enable debug logs with the DEBUG environment variable (0-9).
+
+```sh
+DEBUG=9 python3 main.py
+```
+
 ## Inference Engines
 ## Inference Engines
 
 
 exo supports the following inference engines:
 exo supports the following inference engines: