How to debug Workflows without PotentialDeadLockException

While debugging a workflow, everything works fine untill I reach the activity execution.
Right when I step over the activity method call inside the workflow, I get PotentialDeadLockException stating that Potential DeadLock Detected : workflow thread “workflow-method” didn’t yield control for over a second.

How do I disable this when debugging in local.?

Thanks tihomir.

Gist from the link for Others

To alleviate this issue, you can set the TEMPORAL_DEBUG environment variable to true before debugging your Workflow code. Make sure to set TEMPORAL_DEBUG to true only during debugging.

Make sure the TEMPORAL_DEBUG is only set during debugging, as it can mask serious workflow issues (in integration tests for example).