diff options
| author | karnigen <karnigen@gmail.com> | 2024-05-03 01:34:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-03 01:34:58 +0200 |
| commit | bf5c2dfd67fac98868f86276504715ecfe1c369a (patch) | |
| tree | 3b6bd611f452156fab48201fe7c868536dcb3e2d /DEBUG_template.toml | |
| parent | ad2914284e8ef5f59c410018415dbb8d574586f8 (diff) | |
Kgn/logging revamp (#2720)
* update config files
* rebase after electron remove
* added toml to requirements
* logging update
* Unified use of the TOML format instead of INI [no ci]
* Unified use of the TOML format instead of INI [no ci]
* moving debug*.py to debug dir, moving some part for debugger [no ci]
* use of alternate logging in some cases
* updated debug logger [no ci]
* logging update
* updated notes
* updated notes about logging
* style check
Diffstat (limited to 'DEBUG_template.toml')
| -rw-r--r-- | DEBUG_template.toml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/DEBUG_template.toml b/DEBUG_template.toml new file mode 100644 index 00000000..1822902c --- /dev/null +++ b/DEBUG_template.toml @@ -0,0 +1,51 @@ +### customize this file and save as DEBUG.toml + +[LIBRARY] +### use the pip installed version of inkex.py, default: true +# prefer_pip_inkex = false + +[LOGGING] +### logging configuration file, default: none - use implicit DEBUG logging to inkstitch.log +### we may have multiple configurations: LOGGING.toml, LOGGING1.toml, LOGGING2.toml, etc. +# log_config_file = "LOGGING.toml" + +### disable globally logging: default: false - using logging.disable() +### reenable logging.disable(0) +# disable_logging = true + +[DEBUG] +### simulate frozen mode, overwrite running_as_frozen in inkstitch.py, default: false +# force_frozen = true + +### select one active debug_type, default: "none" +# debug_type = "vscode" +# debug_type = "pycharm" +# debug_type = "pydev" + +### enable debugger, see cmd line arg -d, default: false +# debug_enable = true + +### disable debugger when calling from inkscape, default: false +# disable_from_inkscape = true + +### wait for debugger to attach (vscode), default: true +# wait_attach = false + +### creation of bash script, default: false +# create_bash_script = true + +### base name for bash script, default: "debug_inkstitch" +# bash_file_base = "debug_inkstitch" + +[PROFILE] +### select one active profiler_type, default: "none" +# profiler_type = "cprofile" +# profiler_type = "profile" +# profiler_type = "pyinstrument" + +### enable profiler, see cmd line arg -p, default: false +# profile_enable = true + +### base name for profile output files, default: "debug_profile" +# profile_file_base = "logs/debug_profile" + |
