diff --git a/airbyte_cdk/test/entrypoint_wrapper.py b/airbyte_cdk/test/entrypoint_wrapper.py index 3c0bcdfed..09a3fc75e 100644 --- a/airbyte_cdk/test/entrypoint_wrapper.py +++ b/airbyte_cdk/test/entrypoint_wrapper.py @@ -373,6 +373,7 @@ def read( expecting_exception: bool | None = None, # Deprecated, use `expected_outcome` instead. *, expected_outcome: ExpectedOutcome | None = None, + debug: bool = False, ) -> EntrypointOutput: """ config and state must be json serializable @@ -394,6 +395,8 @@ def read( "--catalog", catalog_file, ] + if debug: + args.append("--debug") if state is not None: args.extend( [