Always enable debugger in devbuilds, but keep function scanning restricted to the enable state