commit cf35fdbd2304e69c2d9b462090f1ee55f16e6857 parent 0985c8825ebf38641351665a7ad021223498b332 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Mon, 30 Aug 2021 22:33:15 +0200 Update TESTING.md Diffstat:
M | TESTING.md | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/TESTING.md b/TESTING.md @@ -2,6 +2,18 @@ This file holds notes for testing purposes. +## Send stderr to File + +Send stderr to a file for debugging: +```bash +diary 2>log.txt +``` + +Or to `/dev/null` to ignore the debug messages flickering on the screen: +```bash +diary 2>/dev/null +``` + ## Render Documentation / Man Page ### Plain Text