shell debug

1. sh

  sh  -v  filename

2. bash

  bash -x  filename
原文地址:https://www.cnblogs.com/virgosnail/p/13446952.html