Using Google Chrome to debug and edit javascript embedded in HTML page

前端 未结 5 1286
终归单人心
终归单人心 2021-01-31 07:00

Chrome developer tools allows you to edit javascript in the browser if the javascript is in a .js file. However, it does not seem to allow me to edit javascript that is embedded

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-31 07:46

    I had a difficult time locating the file that had my inline/embedded javascript. For others having the same problem, this may or may not be helpful...

    Using Chrome 21.0.1180.89 m for Windows

    enter image description here

    All files are shown after clicking that very discreetly placed button. See:

    enter image description here

    Now you may begin debugging...

    enter image description here

提交回复
热议问题