From bcba4efd91167b7b216761a2526fe058d0ec4fd6 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Tue, 26 Apr 2016 18:01:23 +0200 Subject: [PATCH] [ADD] doc: add doc about dev mode Remove the debug mode that has been merged into `--dev pdb` --- doc/reference/cmdline.rst | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst index 955f83981a9..7afa8bd2645 100644 --- a/doc/reference/cmdline.rst +++ b/doc/reference/cmdline.rst @@ -111,11 +111,21 @@ Running the server runs tests after installing modules -.. option:: --debug +.. option:: --dev - when an unexpected error is raised (not a warning or an access error), - automatically starts :mod:`python:pdb` before logging and returning the - error + * ``all``: all the features below are activated + + * ``xml``: read template qweb from xml file directly instead of database. + Once a template has been modified in database, it will be not be read from + the xml file until the next update/init. + + * ``reload``: restart server when python file are updated (may not be detected + depending on the text editor used) + + * ``qweb``: break in the evaluation of qweb template when a node contains ``t-debug='debugger'`` + + * ``(i)p(u)db``: start the chosen python debugger in the code when an + unexpected error is raised before logging and returning the error. .. _reference/cmdline/server/database: