There is some common code in many/all the current resources. This code should be refactored into functions and put into a create that can be reused instead of duplicated. For example, the code to check an environment variable and then prompt a user to attach a debugger.
Summary of the new feature / enhancement
There is some common code in many/all the current resources. This code should be refactored into functions and put into a create that can be reused instead of duplicated. For example, the code to check an environment variable and then prompt a user to attach a debugger.
Proposed technical implementation details (optional)
dsc_utils
that contains common code that can be reused in many/all resource implementations.file_lib/src/debug.rs
into the new crate and update all resources that use similar code to prompt the user to attach a debugger.