changeset 25833:8243e999f22b

debugger: mark developer-only option (and rearrange comment)
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jun 2015 17:45:49 -0500
parents 5857be01962e
children aca8ae2b0cb2
files mercurial/dispatch.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dispatch.py	Thu Jun 25 17:44:15 2015 -0500
+++ b/mercurial/dispatch.py	Thu Jun 25 17:45:49 2015 -0500
@@ -129,10 +129,11 @@
                 for sec, name, val in cfgs:
                     req.repo.ui.setconfig(sec, name, val, source='--config')
 
-            # if we are in HGPLAIN mode, then disable custom debugging
+            # developer config: ui.debugger
             debugger = ui.config("ui", "debugger")
             debugmod = pdb
             if not debugger or ui.plain():
+                # if we are in HGPLAIN mode, then disable custom debugging
                 debugger = 'pdb'
             elif '--debugger' in req.args:
                 # This import can be slow for fancy debuggers, so only