Add debug mode to TOC

This is coming from the oniro repository but the TOC is redefined in
docs leaving that document dangling.

This also fixes a build warning treated as an error:

Warning, treated as error:
[...]/docs/oniro/debug-mode.rst:document isn't included in any toctree
make: *** [Makefile:16: build] Error

Signed-off-by: Andrei Gherzan <>
2 jobs for main in 2 minutes and 8 seconds (queued for 1 second)