Enable developer mode: Nexus 6p

Open the Settings app.
Scroll down to the bottom and select About phone.
Scroll to the bottom and press Build number 7 times (you’ll see a confirmation that you are now a developer), press the back button.
Developer options will now appear at the bottom of Settings, select it.