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

Allow passing custom compiler for debugging #7045

Closed
anderseknert opened this issue Sep 19, 2024 · 0 comments · Fixed by #7053
Closed

Allow passing custom compiler for debugging #7045

anderseknert opened this issue Sep 19, 2024 · 0 comments · Fixed by #7053

Comments

@anderseknert
Copy link
Member

OPA-based projects that extend OPA with e.g. custom built-in functions are currently not debuggable, as the compiler used by the debugger is hard-coded. It would be nice if the debugger API allowed clients to pass their own compiler.

johanfylling added a commit to johanfylling/opa that referenced this issue Sep 23, 2024
Adding `RegoOption` launch option to debugger for setting custom rego options.

Fixes: open-policy-agent#7045
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
johanfylling added a commit that referenced this issue Sep 23, 2024
* debug: Configurable rego-options on debugger

Adding `RegoOption` launch option to debugger for setting custom rego options.

Fixes: #7045
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant