fix cancel debug build
revert changes
fix wrong running debug server for terminate application