Amber icon indicating copy to clipboard operation
Amber copied to clipboard

Bash debug mode

Open Mte90 opened this issue 1 year ago • 1 comments

In top of bash files is helpful to debug them, maybe an Amber parameter that add it automatically?

set -x

Mte90 avatar Jun 19 '24 10:06 Mte90

set -x enables the Bash debug mode where all executed commands are printed to the terminal (standard error) after being expanded but before being executed. This could be turned on by someone with some flag in Amber Compiler.

That would be cool if we had a way to also debug Amber scripts with another flag. For example when there are bash syntax errors to show where these happened

Ph0enixKM avatar Jun 19 '24 16:06 Ph0enixKM