I’m assuming you own a copy of Tasker, you have successfully installed Secure Settings and enabled the relative Helper. To do so you must have a rooted ROM like CyanogenMod.
I’m reporting here the steps I did:
Go to “Tasks” tab
Create a new task with the green “+” button
Give the task a name (i.e. “Enable Debug”)
Add a new action
Choose “Secure Settings”
Pick “USB Debugging” from the list
Activate the “On” state
Save with the floppy icon on the bottom
Now run your task in Tasker (you can use the “play” button)
Verify the state of the checkbox in the Android’s Settings menu
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.