GithubHelp home page GithubHelp logo

Comments (5)

grapewheel avatar grapewheel commented on May 22, 2024

好的,我也看看,一般我们编程不会用到断点,甚至连webview debugger都不会使用,只使用wifi log看输出,最简单直接粗暴的调试方式,因为开发久了,基本不需要重型开发工具来协助调试

from avvw.

amnextking avatar amnextking commented on May 22, 2024

老司机开车稳嘛,前端我还是个新手需要一些东西去辅助,有劳作者了!

from avvw.

grapewheel avatar grapewheel commented on May 22, 2024

v1.2.0已支持手机热加载调试,原理是apploader映射本地测试服来进行调试,你可以重新测试下这个issue,我还没有时间测试,谢谢~

from avvw.

grapewheel avatar grapewheel commented on May 22, 2024

已经测试过,是可以断点,但由于apicloud的多页面运行机制,所以vs code不能每次都能和当前调试页面连接成功,所以有时可以,有时不行,需要手动修改Android WebView Debugging的配置文件,指向调试某个页面,例如:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "android-webview",
            "request": "attach",
            "name": "Attach to Android WebView",
            "application": "com.android.chrome",
            "webRoot": "${workspaceFolder}",
            "urlFilter": "file://dist/tab1.html"
        }
    ]
}

这种办法非常麻烦,所以我推荐你可以使用apicloud touchDebugger这个插件,自定义Apploader去尝试测试

from avvw.

amnextking avatar amnextking commented on May 22, 2024

好的 谢谢推荐 之前用过Chrome Debug

from avvw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.