Modify debugd method and allow changes to TRACE_LEVEL