Is there a command line argument to allow debuggin...
# general
a
Is there a command line argument to allow debugging of custom plugins?
e
What do you mean by debugging? Up verbosity of logging or attaching a debugger?
a
Attaching a debugger
e
Both the
./pants
script and the
pants
binary (scie-pants) support
PANTS_DEBUG=1 pants --no-pantsd ...
That should halt on start and prompt you to connect at at port.
a
I am confused how I would attach my plugin via debugpy, or am I attaching to the PID and the breakpoint would get hit?
b
Debugpy