source: trunk/config_example.py @ 1558

Last change on this file since 1558 was 1558, checked in by toby, 9 years ago

add some debug options with pdb and IPython

File size: 1.2 KB
Line 
1# -*- coding: utf-8 -*-
2#config.py - Variables used to set optional configuration options
3########### SVN repository information ###################
4# $Date: $
5# $Author: toby $
6# $Revision: $
7# $URL: $
8# $Id: $
9########### SVN repository information ###################
10'''
11*config.py: Configuration options*
12----------------------------------
13
14This file contains optional configuration options for GSAS-II. Note that
15this file is not required to be present and code should be written to
16provide the default behavior if the file is not present or if any configuration
17variable is not set, but please do place a docstring here for every used
18config variable explaining what it does. Access these variables using
19:func:`GSASIIpath.GetConfigValue`.
20'''
21
22debug = False
23'''Set to True to turn on debugging mode. This enables use of IPython on
24exceptions and on calls to :func:`GSASIIpath.IPyBreak`. Calls to
25:func:`GSASIIpath.pdbBreak` will invoke pdb at that location.
26If debug is false calls to :func:`GSASIIpath.IPyBreak` and
27:func:`GSASIIpath.pdbBreak` are ignored.
28'''
29
30Enable_logging = None
31'Set to True to enable use of command logging'
32
33logging_debug = None
34'Set to True to enable debug for logging'
Note: See TracBrowser for help on using the repository browser.