2021年2月11日星期四

How to prompt user to enable debugging in the bash option?

I'm trying to prompt the user whether he wants to start debugging or not. How do I do that without adding -x myself just after #!/bin/bash or without hardcoding it into the script?

https://stackoverflow.com/questions/66165110/how-to-prompt-user-to-enable-debugging-in-the-bash-option February 12, 2021 at 08:56AM

没有评论:

发表评论