Add tooling to explain why a graph execution happens (#5723)
* Initial commit for debugging tool
* minor format tweak
* Only master process should print the execution frame info
* add execution cause
* handle dynamo and everything else
* add test
* linter
* add test to the script