Programming BASH #3 - Debugging

Опубликовано: 30 Октябрь 2024
на канале: Skybert Hacks
711
33

Truly understand your BASH programs with these debugging techniques. In this video, you'll learn different strategies for debugging BASH programs.

This episode covers:
How to get detailed debug logs of your entire program, without attaching a debugger or instrument your program in any way.
How to manipulate the PS4 variable to get full code context in the debug log
How to attach a debugger
How to use shellcheck to spot errors in your code
How your editor can help you find bugs in your programs

Slides 🎞️
https://talks.skybert.net/r/2022-bash...


Contact

🕸️ skybert.net
🐦 @torsteinkrause
📫 [email protected]