Add flags to debug entries