Add --enable-debug to configure flags for gtk, glib, pango, cairo.