by mstwntd_g · 5y ago · 0 comments
for bash I do something similar by using set -x and a custom PS4 prompt that gives me file function and line number..
in my own code I have info, warn, error and debug log lines (for both bash and python).. so I rarely have to resort to enabling trace..
No comments yet.