@IcyShark echo in bash?

No needo bother echoing everything, then removing all the unnecessary echos, when you can just use set -x in your scripts and remove or comment it when your done.

@DeveloperMemes

@IcyShark I guess it depends where you draw the line for the debugger territory. But it's basically just a bash option that only makes the shell traces/output whatever basic instructions are being executed by bash code between set -x and set +x (or the end of script/subshell exit).

Things
- Vars assignation and comparisons
- Commands with their parameters before they are executed, but after variable's expansion so you see the actual values (including in-place modifs)

@DeveloperMemes

@DeveloperMemes debuggers have pretty serious issues with multithreaded programs.

Sign in to participate in the conversation
Mastodon

cybre.town is an instance of Masterdon, a decentrialized and open source social media plattform. This instance is especially about tech/cyber stuff and is also available inside the tor network. - The name is inspired by cybre.space.