debug close