hundreds-breakfast-49010
07/22/2019, 6:52 PM./pants goals
to print the source file where that goal is implemented (maybe with a special --debug
flag?)hundreds-father-404
07/22/2019, 7:02 PMlogging
to the python file and then calling logging.debug
. You can look at python_test_runner.py
as an example. You’d turn it on via -ldebug
when running Pantshundreds-breakfast-49010
07/22/2019, 7:44 PM-ldebug
a flag that already exists?python_test_runner.py
doesn't have the string "logging" in ithundreds-father-404
07/22/2019, 8:00 PM-ldebug
exists. Go to global_options.py
. It’s short for —level
iirchundreds-breakfast-49010
07/22/2019, 11:48 PMactive
flag on a goal used for right now? I wonder if it makes sense for v2 goals to only have that flag set if the --v2
flag is passed in (and similar for v1 goals with --no-v1
)aloof-angle-91616
07/26/2019, 4:33 PM--query
soon, and will immediately once i finish this other thing, ugh)