Add REGO debugger to Mindev.
Summary
This change adds the possibility to start evaluate a REGO-based rule type in a debugger.
The debugger allows setting breakpoints, stepping, printing source, and a few other simple utilities.
The debugger is currently very, very, VERY rough around the edges and could use some love, especially in the reception of events from the debuggee, which is done inline and not asynchronously.
Change Type
- [ ] Bug fix (resolves an issue without affecting existing features)
- [X] Feature (adds new functionality without breaking changes)
- [ ] Breaking change (may impact existing functionalities or require documentation updates)
- [ ] Documentation (updates or additions to documentation)
- [X] Refactoring or test improvements (no bug fixes or new functionality)
Testing
Mostly untested, hic sunt dracones.
Review Checklist:
- [ ] Reviewed my own code for quality and clarity.
- [ ] Added comments to complex or tricky code sections.
- [ ] Updated any affected documentation.
- [ ] Included tests that validate the fix or feature.
- [ ] Checked that related changes are merged.
coverage: 54.746% (-1.1%) from 55.872% when pulling 1d0fe2c181e30f09335a21e893ab6bc026c0b9fc on feat/rego-debugger-awesomeness into 1e6fe636b70c6f87c264dc80dc4d53372dd9d967 on main.
This PR needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.
This PR needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.
This PR needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.