Disabling javascript breakpoints usually does the trick. Devtools detection is often done by having a `debugger;` statement somewhere and timing of it triggered
There is a similar button on chrome, but I am not sure if that also applies to the debugger statement.