Recent projects need some bash scripting, besides bashdb in terminal, GUI bash debugging make life much easier:
- Follow all steps in Upgrading Bash on macOS to update bash (need bash > 4.0)
- Install bashdb: brew install bashdb
- In VS Code:
- Install extension Bash Debug
- Configure bash debugger by https://marketplace.visualstudio.com/items?itemName=rogalmic.bash-debug
- Additional configure: add "terminalKind": "debugConsole" to launch.json to each configuration
No comments:
Post a Comment