Go to “Settings”
Tap “About device” or “About phone”
Tap “Software information”
Tap “Build number” seven times
Depending on your device and operating system, you may not need to follow step number 3.
Enter your pattern, PIN or password to enable the Developer options menu
The “Developer options” menu will now appear in your Settings menu
Depending on your device, it may appear under Settings > General > Developer options.
To disable the Developer options menu, tap the switch