You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In janet I am not sure the right approach, but perhaps a dynamic variable that can be set to control a debug callback then users can define a macro like 'with-verbose'
(with-verbose (do (sh/$ cc ...) (sh/$ cc ...) (sh/$ cc ...)))
An alternative is to integrate with the janet vm trace functions by providing a clear trace point.
The text was updated successfully, but these errors were encountered:
I recently wanted to print out all the commands a script was executing (A C build script) - It was very hard to do so, In bash you do something like:
In janet I am not sure the right approach, but perhaps a dynamic variable that can be set to control a debug callback then users can define a macro like 'with-verbose'
An alternative is to integrate with the janet vm trace functions by providing a clear trace point.
The text was updated successfully, but these errors were encountered: