What’s the best way to get some debug/verbose outp...
# general
f
What’s the best way to get some debug/verbose output from
pants generate-lockfiles
on what it’s currently doing? I am trying to resolve a large set of requirements and I am not sure if it just gets stuck in some cycle or so or why it’s taking so long. If there is no way to do this directly in pantsbuild, is there a way to get the exact pex command from pantsbuild and then launch that manually with extra debug flags?
f
You can get some more logs with
pants -ldebug generate-lockfiles
a
I was there a few days ago 😄 If you do
--keep-sandboxes=always
, you'll get the sandbox in which it's trying to generate the lockfiles. In there, there's a
__run.sh
file, if you edit that and add
PEX_VERBOSE=9
to the list of env vars it uses then run it, you should get the more logs.
c
also, you can get the pip log file from
ps
and tail that.. searching the slack history can give you more hints 😉
f
Thank you, great options 🙂