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

Drop into a debugger when encountering a debugger call #6

Open
wildmaples opened this issue Sep 25, 2020 · 0 comments
Open

Drop into a debugger when encountering a debugger call #6

wildmaples opened this issue Sep 25, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@wildmaples
Copy link
Contributor

When you want to debug Packwerk for a specific context (file + constant), it's quite difficult to do without running a debugger for all contexts. What if we dropped into a debugger whenever we see an AST node that is a call, for a method named debugger, and no arguments?

These are generally not found in code that gets committed, so it should be non-intrusive, but best to scope it behind a flag/subcommand to be safe.

@wildmaples wildmaples added the enhancement New feature or request label Sep 25, 2020
shioyama pushed a commit that referenced this issue May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant