Chrome dev tools console completely blank

前端 未结 2 769
死守一世寂寞
死守一世寂寞 2021-01-04 10:14

The problem is not that my console.log is not printed in the console. The problem is that the console is initially blank. I need to switch the tabs back and for

相关标签:
2条回答
  • 2021-01-04 10:18

    Your preferences have probably become corrupted. If you can reproduce the bug, please open a ticket at http://crbug.com/new.

    Reset the preferences to resolve the issue. These are saved in localStorage on chrome-devtools://devtools, so you need to open the devtools of the devtools (step 1-2 of https://stackoverflow.com/a/21149275/938089), and either:

    • Run localStorage.clear() (switch to the Console tab or press Esc to open a drawer)
    • OR Go to Resources, Local Storage and delete all items of the dev tools one by one.
    0 讨论(0)
  • 2021-01-04 10:18

    The suggestion of clearing localStorage either didn't work or only worked temporarily for me. As mentioned in some of the comments, the solution that worked for me was to:

    1. Open developer tools
    2. Open settings pane from top right (or F1)
    3. Click the 'Restore defaults and reload' button

    I should also mention that I'm using Google Chrome 53.0.2754.0 canary (64-bit).

    0 讨论(0)
提交回复
热议问题