📜  调试 shell 脚本 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:55.897000             🧑  作者: Mango

代码示例1
set -x #Just use this command to activate debugging within your code
## some code ... ##
set +x #Deactivate debugging

#Alternatively do
bash -x code.sh