[#8] debug entry point with the command line#14
Merged
Conversation
d856869 to
0ed5e99
Compare
gtully
approved these changes
Sep 24, 2025
brusdev
reviewed
Sep 26, 2025
brusdev
left a comment
Member
There was a problem hiding this comment.
Debugging the tutorial without changing the sources is a nice improvement and the completion feature is great (it would deserve its own PR)
| -i, --interactive Prompt to press enter between each chunk | ||
| -s, --start-from string Start from a specific stage name | ||
| -s, --start-from string Start from a specific stage (stage or file@stage) | ||
| -D, --debug-from string Start debugging from a specific stage or chunk (stage, stage/chunkID, or file@stage/chunkID) |
Member
There was a problem hiding this comment.
The debug option is often used to increase the verbosity of the log. Another alternative could be --break-at
Member
Author
There was a problem hiding this comment.
Yes this makes a lot of sense, I'll update the name of the option to --break-at and -B
0ed5e99 to
06f5947
Compare
Member
Author
The -D flag allows users to start debugging from: - A specific stage: -D stage2 - A specific chunk by ID: -D stage2/myChunkID - A specific chunk by index: -D stage2/0 - A specific file when running directories: -D myfile@stage2/chunk This enhances the existing -s flag by adding chunk-level granularity and enables targeted debugging workflows.
06f5947 to
a9e12ab
Compare
brusdev
approved these changes
Sep 29, 2025
Member
|
I have just figured out that the commit message points to -D option. |
Member
Author
|
Ah yes, an inattentive mistake. That happens sometimes. |
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.
The idea is that a user can use -D to enter debug at a specific point. A completion script can be installed on the system, and will help the user know the correct parameter for -D. -s works now the same as -D.