My phone is Samsung S6. I'm using the S Health Version 5.1.1.0007.
Download dataviewer-1.2.0.apk.
Open S Health on my phone > Tap "MORE" at the upper right corner > "Settings" > "About S Health" > Find the word "Version" > Tap the letters "r" and "s" 10 times
*(Developer Mode)* should appear...