You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add unified pysa_dump_* debugging triggers for Pysa and Pyrefly
Summary: This adds a unified `pysa_dump_*` family of debugging/logging triggers for Pysa and Pyrefly. Each phase can be triggered two ways (OR'd together): an in-source `pysa_dump_<phase>()` function call, or a `PYSA_DUMP_<PHASE>=<exact qualified name>` environment variable. `pysa_dump()` / `PYSA_DUMP` is the master switch that enables all phases for a function. This avoids having to edit analyzed source code to insert dump calls, and avoids threading CLI flags through multiple programs. It also cleans up and unifies the previously inconsistent logging logic (e.g. `pysa_dump` worked in pyrefly but not pysa).
Reviewed By: tianhan0
Differential Revision: D108298619
fbshipit-source-id: 584002fb9c6be4bf79ab6f79888e1c8e83b804ac
0 commit comments