From f4b8c092ce9aa43078776e6ccac9b069231c78de Mon Sep 17 00:00:00 2001 From: Vlad Rachev Date: Fri, 15 Apr 2022 14:26:39 -0400 Subject: [PATCH] TIG-3421 Document adding actor debug info (#659) --- docs/developing.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/developing.md b/docs/developing.md index 847d7aa6f2..977191eff4 100644 --- a/docs/developing.md +++ b/docs/developing.md @@ -109,6 +109,16 @@ IDEs can debug Genny if it is built with the `Debug` build type: ./run-genny install -- -DCMAKE_BUILD_TYPE=Debug ``` +Genny has a verbose output mode: + +```shell +./run-genny workload -v debug +``` + +Actor information can be printed for additional help, eg: when an +[actor is about to begin](https://github.com/mongodb/genny/blob/a3fd9cb1ee9954877281922cf5959b635d889599/src/cast_core/src/HelloWorld.cpp#L42-L45) +or when it has [ended](https://github.com/mongodb/genny/blob/a3fd9cb1ee9954877281922cf5959b635d889599/src/cast_core/src/HelloWorld.cpp#L58) + ## Code Style and Limitations > Don't get cute.