Is your feature request related to a problem? Please describe.
Having well judged debug prints sprinkled around in the code can be very useful during development. However, having to comment and uncomment them before and after each release will become annoying and error prone.
Describe the solution you'd like
Have a pdt_debug(msg) function that calls print(prefix, msg) depending on whether a new 'print debug info' checkbox is selected in the PDT add-on preference panel.
Is your feature request related to a problem? Please describe. Having well judged debug prints sprinkled around in the code can be very useful during development. However, having to comment and uncomment them before and after each release will become annoying and error prone.
Describe the solution you'd like Have a
pdt_debug(msg)
function that callsprint(prefix, msg)
depending on whether a new 'print debug info' checkbox is selected in the PDT add-on preference panel.Describe alternatives you've considered None.
Additional context None.