Search code examples
javascriptgoogle-chromegoogle-chrome-devtools

How to disable JavaScript in Chrome Developer Tools?


I am trying to debug the features of a website when users disable their JavaScript. I was wondering how do you disable JavaScript for a page from the Google Chrome DevTools?


Solution

  • Click the gear icon in the corner of the Developer Tools, click Settings, then under Debugger, check Disable Javascript, as shown in the following video:

    enter image description here