是否有可能调试的bash脚本行由行? [英] Is it possible to debug bash scripts line-by-line?

查看:132
本文介绍了是否有可能调试的bash脚本行由行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我爱像微软Visual Studio的行由行调试中的庆典的,与当前的变量值等。

I'll love something like Microsoft Visual Studio's line-by-line debugging in bash, with current variables values and so.

是否有任何工具或方式做到这一点? 设置-x 设置-v 都不错,但并不完美。

Is there any tool or way to do it? set -x and set -v are nice but not perfect.

推荐答案

请参阅 bashdb

如果它安装在系统上,请参阅男人bashdb

If it's installed on your system, see man bashdb.

如果它没有安装,请参见 http://bashdb.sourceforge.net

If it's not installed, see http://bashdb.sourceforge.net

这篇关于是否有可能调试的bash脚本行由行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆