Quote:
I would like to disable the developer tool of browser so that no one can debug the web site using the developer tools.
This is not possible. You can always lock a key but the user can also define another key to call the dev tools.
You should rather explain what you want to hide from the user, there may be a solution.
By design, the dev tools are made to be always available.