If.uou use vscode, the [Puke-Debug](https://marketplace.visualstudio.com/items?itemName=Zorvalt....) extension is a nice alternative. It allows to easily insert and remove similar print statements, in multiple languages, without adding a dependencies to your project that you need to remove afterwards.
I find shellcheck to be really great to go to the step beyound. It find a lot of things that make most shell script brittle and teach you some best practice.
I haven't updated it in a few years because it just works