Skip to content

Commit 925821d

Browse files
committed
chore(docs): add debug instructions
Signed-off-by: Alex Chi <[email protected]>
1 parent ec4e082 commit 925821d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/01-01-hello-sql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ fn test() {
320320

321321
我们提供了一份完整的测试框架代码 [test.rs],你可以直接把它复制到你的项目中。
322322

323+
在运行测试时,你可以开启 `RUST_LOG=info``RUST_BACKTRACE=1` 这两个环境变量。开启这两个选项可以方便定位运行过程的错误。
324+
323325
[sqllogictest]: https://docs.rs/sqllogictest/0.1.0/sqllogictest/
324326
[`DB`]: https://docs.rs/sqllogictest/0.1.0/sqllogictest/trait.DB.html
325327
[`Runner`]: https://docs.rs/sqllogictest/0.1.0/sqllogictest/struct.Runner.html#method.run_script

0 commit comments

Comments
 (0)