Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash debug mode #219

Open
Mte90 opened this issue Jun 19, 2024 · 1 comment
Open

Bash debug mode #219

Mte90 opened this issue Jun 19, 2024 · 1 comment
Labels
compiler enhancement New feature or request

Comments

@Mte90
Copy link
Member

Mte90 commented Jun 19, 2024

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

set -x

@github-project-automation github-project-automation bot moved this to 🆕 New in Amber Project Jun 19, 2024
@Ph0enixKM Ph0enixKM moved this from 🆕 New to 📋 Todo in Amber Project Jun 19, 2024
@Ph0enixKM
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants