debug the source from database