Turn on debug in local/common.mk by adding the line OPTIMIZE=-g
do
followed by
Once installed, you have to change the setuid bit for the executable you want to test, e.g.
You will need to be root to run without setuid.
Then you can run that one executable with