justPrintIt automatically inserts and removes print statements. Super handy when a small program crashes and you need to find the line that the program crashes at (and for whatever reason its not obvious). justPrintIt is written in Python so it should just run. Currently justPrintIt works for C++ programs.
If you want justPrintIt as a CLI tool you can simply add an alias
# in your .bash_profile .bashrc, .zshrc or equivalent
alias justprintit="/path/to/justPrintIt.py"
Adding debug lines simply pass the -a flag. Removing debug lines simply pass the -r flag.
$ justprintit
Usage :
justPrintIt -a fileName.cpp
JustPrintIt -r fileName.cpp