Debug: -g
Memory leaks: -fsanitize=address
For undefined vars: -fsanitize=undefined
Warnings (all of them): -Wall