pantsbuild / setup

Scripts for setting up Pants in your repo
Apache License 2.0
13 stars 30 forks source link

Add PANTS_DEBUG-ability #136

Closed thejcannon closed 1 year ago

thejcannon commented 1 year ago

Adds the ability to debug Pants itself through DAP leveraging debugpy.

Now you can use PANTS_DEBUG=1 ./pants --no-pantsd ... and attach VS Code to the server and debug rule code.

thejcannon commented 1 year ago

./pants: line 509: pants_debug_args[@]: unbound variable

:thinking:

thejcannon commented 1 year ago

There's been some changes. I'll wait for another +1 or two.