-
Notifications
You must be signed in to change notification settings - Fork 23
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
doc: Add "Attaching a Debugger" section to README #570
doc: Add "Attaching a Debugger" section to README #570
Conversation
@@ -102,6 +102,31 @@ For more information on Ansible collection usage, see [Ansible's official usage | |||
|
|||
Use-case examples for this collection can be found [here](./examples/README.md). | |||
|
|||
## Development |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless anyone has any objections, I plan on making a ticket to flesh this section out when I have time 🙂
### Attaching a Debugger | ||
|
||
To quickly and easily attach a debugger to a running module in this collection, | ||
you can use the [madbg](https://pypi.org/project/madbg/) package: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any alternative debuggers? The development of the madbg repository doesn't seem to be active..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Ansible-recommended debugger is epdb but it doesn't seem to work with Ansible's stdout weirdness anymore, and isn't being too actively maintained either. It'd definitely be worth looking into other projects though 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
📝 Description
This pull request adds a small "Attaching a Debugger" section to this project's README.
✔️ How to Test
N/A