debug outer frame
debug mode