enhanced debugging for requireJS