[debug-mode] add break + changing mode to type
[debug-mode] -> [master]