enable debug flag to let xcode set breakpoint well.