【问题标题】:Cordova Sqlite Plugin: Is there any way to inspect a Sqlite database using the Chrome console debug?Cordova Sqlite 插件:有没有办法使用 Chrome 控制台调试检查 Sqlite 数据库?
【发布时间】:2017-03-13 20:33:41
【问题描述】:

是否有任何快速的方法可以使用 chrome://inspect 中的资源选项卡检查 Sqlite 数据库?

我正在使用 Cordova Sqlite 插件

如果没有,最快/最好的方法是什么?(目前我只能通过回调)。

【问题讨论】:

  • 你在使用 SQLite 插件吗?
  • 是的,Sqlite 插件 :)
  • 所以,AFAIK,没有办法使用 Chrome 的开发者工具来检查插件在做什么。我过去通常做的是确保我的代码可以在浏览器和移动应用程序中运行(唯一变化很大的部分是打开数据库)。然后您将使用 Chrome 的实现,因此,Chrome 会让您检查它。

标签: cordova google-chrome debugging console


【解决方案1】:

如果您使用该插件,则需要一个原生 SQLite 数据库浏览器应用程序。我以前在 Google Play 商店中使用过 Speed Software 的 SQLite 编辑器,但现在可能有更好的选择。

https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor

【讨论】:

  • 谢谢!这对我有帮助。
  • 很高兴听到这个消息!
猜你喜欢
  • 2021-07-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-12-10
  • 2012-05-26
  • 1970-01-01
相关资源
最近更新 更多