Quickfix to debugging code