pushed some window debug to dbg function