Bash is an interpreted language, so you don't really need a fancy debugger. You can just add an exit or suspend in the middle of the code to act as a breakpoint, or manually run the code one line at a time if you want to step through it.
this post was submitted on 24 Jul 2024
10 points (91.7% liked)
Linux 101 stuff. Questions are encouraged, noobs are welcome!
1053 readers
1 users here now
Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.
founded 1 year ago
MODERATORS