This enables debugging with gdb. Without -g flag, the generated C code does not have file/line set, hence gdb has no way of telling the Vala code line the C code corresponds to.