I've run Jim's patch locally on top of Ironic master and confirmed that it fixes the described problem.
Specifically, running the API service in debug mode no longer causes pecan to also be in debug mode, and an operator must explicitly set pecan_debug=True if they want to enable HTTP clients to set breakpoints or see server ENV vars.
I've run Jim's patch locally on top of Ironic master and confirmed that it fixes the described problem.
Specifically, running the API service in debug mode no longer causes pecan to also be in debug mode, and an operator must explicitly set pecan_debug=True if they want to enable HTTP clients to set breakpoints or see server ENV vars.