Add refresh target, disable gdb by default.