fresh-cat-90827
11/22/2022, 8:29 PM./pants
command with in-repo plugin code being executed? If I add import pdb; pdb.set_trace()
inside my plugin code, I get Exception: stdin is currently Exclusive owned.
in the terminalbitter-ability-32190
11/22/2022, 8:30 PMPANTS_DEBUG
(which is in the pants repo) but for end-users.
It might be possible to cobble together. You use VS Code?fresh-cat-90827
11/22/2022, 8:31 PMfresh-cat-90827
11/22/2022, 8:32 PM./pants
from a terminal; it's a trivial piece of Python code in the pluginbitter-ability-32190
11/22/2022, 8:32 PMfresh-cat-90827
11/22/2022, 8:33 PMambitious-actor-36781
11/22/2022, 8:45 PM[cli.alias]
plugin-dev = "--no-local-cache --no-dynamic-ui --print-stacktrace --no-concurrent"
bitter-ability-32190
11/22/2022, 8:53 PMbitter-ability-32190
11/22/2022, 9:41 PMbitter-ability-32190
11/22/2022, 9:47 PMDEBUG_ARGS='-c "__import__(\"sys\").path.pop(0);__import__(\"debugpy.server.cli\").main()" --listen 127.0.0.1:5678 --wait-for-client'
exec python ${DEBUG_ARGS}
and nothing happensbitter-ability-32190
11/23/2022, 2:23 AMbitter-ability-32190
11/23/2022, 2:23 AMbitter-ability-32190
11/28/2022, 4:31 PMPANTS_DEBUG=1