tests: add attribute to force tests to only run with debugger attached