[Framework/Diagnostics] Made the Debug service more flexible in terms of configuration