Settings -> Apps -> Development -> Debugging (Not sure if it's exactly that because I have is in another language)