# open vConsole

# 1. Open in Mobile App Assistant

Open in Mobile App Assistant vConsole The method is as follows:

  • in app.js Add the following, and then recompile the code
wx.setEnableDebug({
  enableDebug: true
})

# II. In App Open in

will App Package generation APK or IPA, if required in the Open in the app Vconsole, the operation steps are as follows:

step 1. Mouse click project.miniapp.json , The visual configuration panel appears on the right

step 2. findDebug mode configurationAnd set it to open

step 3. Re-constructing the new APK or IPA, reinstall to take effect

Instructions for debugging mode configuration:

  • There are three values in this mode, which are openclose as well as undefined
  • If it is undefined, still hope to vConsole Open, you can open the app.js Add the following in
wx.setEnableDebug({
  enableDebug: true
})
  • But in close In this case, the code will enableDebug Set to true It won't open. vConsole Pattern, but will be in the App The watermark "debug mode is enabled, please restart to take effect" appears at startup time. So before building the official version, developers need to turn this mode off and enableDebug Set to false

Other Notes:

  • If there is no visual surface version, but the source form, you can switch through the icon in the upper right cornerIf there is no toggle icon in the top right corner, the Developer Tools version is too low, please upgrade the Developer Tool to the latest version