📜  激活调试 bash - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:45.561000             🧑  作者: 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