Closed edcote closed 3 years ago
Hi @edcote, Good point. Having a public mechanism for controlling debug would be helpful. I'm actually thinking we might benefit from a couple levels at which debug can be set, and (possibly) a couple levels of verbosity:
I think a good first step is just to expose user-level control. We can worry later about verbosity levels. Let me give this a bit of thought. Shouldn't be difficult to implement.
The per-solve option has been implemented. Closing this for now. To use, pass debug=
item.randomize(debug=1)
RE: https://github.com/fvutils/pyvsc/discussions/65#discussioncomment-675716
This is low priority enhancement to allow user control of EN_DEBUG flag in https://github.com/fvutils/pyvsc/blob/master/src/vsc/model/randomizer.py#L60
If there's a configuration mechanism in the code I haven't seen, please point me to it and I'll implement.
Otherwise, I prefer not to rig up a mechanism unaligned with developer intent.