搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Devtools Indexed DB inspector collapses long JSON values, making them unparseable.

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I am trying to debug an application which places a fairly large JSON string (>20kb) into a key-value in the Indexed DB. Since the string is very long, it is truncated by the DevTools UI, which means that the JSON can no longer be parsed in the UI.

Is there any setting in Firefox that allows me to prevent the UI from truncating long strings?

I am trying to debug an application which places a fairly large JSON string (>20kb) into a key-value in the Indexed DB. Since the string is very long, it is truncated by the DevTools UI, which means that the JSON can no longer be parsed in the UI. Is there any setting in Firefox that allows me to prevent the UI from truncating long strings?

所有回覆 (1)

more options

Can't you access this k/v data in the Web Console via JavaScript (e.g. via prompt) since it is stored locally ?