added static constant IS_DEBUGGER to improve contstructor performance