Add ability to disable frame evaluation
@@ -8,7 +8,12 @@ if (sys.version_info[0] == 3 and sys.version_info[1] >= 6) or sys.version_info[0
set_frame_eval = None
stop_frame_eval = None
+use_frame_eval = os.environ.get('PYDEVD_USE_FRAME_EVAL', None)
+if use_frame_eval == 'NO':
+ frame_eval_func, stop_frame_eval = None, None
+
+else:
if IS_PY36_OR_OLDER:
try:
from _pydevd_frame_eval.pydevd_frame_evaluator import frame_eval_func, stop_frame_eval
