feat: Add debug mode to one-shot commands#631
Open
xalelax wants to merge 3 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #631 +/- ##
==========================================
- Coverage 77.95% 77.84% -0.11%
==========================================
Files 39 39
Lines 4635 4654 +19
Branches 754 759 +5
==========================================
+ Hits 3613 3623 +10
- Misses 716 724 +8
- Partials 306 307 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Benchmark ResultsBenchmarks use a no-op Tesseract to measure pure framework overhead. 🚀 0 faster, ✅ No significant performance changes detected. Full results
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relevant issue or PR
Debugging Tesseracts was limited to the
servecommand; this extends it totesseract run ...commands. For those, the runtime waits for a debugger to attach, so that everything after it is in principle observable. That includes, for instance,tesseract_api.pyimport-time stuff.Description of changes
servedebugger into a common function.--debugarg torun; piped that in a few placesSome questions still open:
-Xfrozen_modules=off)."port": "${input:debugPort}"in the launch config, and a corresponding input defined).Testing done
(warnings were still there because this video is before cea6bd3)
Recording.2026-06-26.181450.mp4
Here's a more refined version, with the edits described in the previous section
Recording.2026-06-26.225216.mp4