Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PANTS_DEBUG-ability #136

Merged
merged 11 commits into from
Nov 28, 2022
Merged

Add PANTS_DEBUG-ability #136

merged 11 commits into from
Nov 28, 2022

Conversation

thejcannon
Copy link
Member

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
Copy link
Member Author

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

🤔

Copy link
Member

@kaos kaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet

pants Outdated Show resolved Hide resolved
@thejcannon
Copy link
Member Author

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

Copy link
Member

@kaos kaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've followed along here, so still +1 from me :)

@thejcannon thejcannon merged commit daa17a6 into gh-pages Nov 28, 2022
@thejcannon thejcannon deleted the debug branch November 28, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants