如何使用vscode优雅的可视化的调试shell脚本
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
命令安装
1. 从vscode官网下载最新版本,deb包下载地址:Documentation for Visual Studio Code
使用wget 下载地址 进行下载
2. 安装:dpkg -i 安装包
3. 安装成功后,执行code命令打开vscode界面
如果使用root用户要加上个参数 --no-sandbox --user-data-dir=~
然后在扩展 商店中搜索
Bash Debug
安装后,就可以调试了
打开一个sh脚本,运行,添加配置
然后切换到要调试的.sh脚本,下个断点
F10 单步,F11步入
也可以动态看变量的值了!




A beautiful web dashboard for Linux
最近提交(Master分支:5 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
所有评论(0)