美文网首页
ReactNative DEBUG 调试环境

ReactNative DEBUG 调试环境

作者: able_ | 来源:发表于2019-01-22 20:12 被阅读0次

    {
    // 使用 IntelliSense 了解相关属性。
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [

      {
          "name": "Debug Android",
          "program": "${workspaceRoot}/.vscode/launchReactNative.js",
          "type": "reactnative",
          "request": "launch",
          "platform": "android",
          "sourceMaps": true,
          "outDir": "${workspaceRoot}/.vscode/.react"
      },
      {
          "name": "Debug iOS",
          "program": "${workspaceRoot}/.vscode/launchReactNative.js",
          "type": "reactnative",
          "request": "launch",
          "platform": "ios",
          "sourceMaps": true,
          "outDir": "${workspaceRoot}/.vscode/.react"
      },
      {
          "name": "Attach to packager",
          "program": "${workspaceRoot}/.vscode/launchReactNative.js",
          "type": "reactnative",
          "request": "attach",
          "sourceMaps": true,
          "outDir": "${workspaceRoot}/.vscode/.react"
      },
      {
          "name": "Debug in Exponent",
          "program": "${workspaceRoot}/.vscode/launchReactNative.js",
          "type": "reactnative",
          "request": "launch",
          "platform": "exponent",
          "sourceMaps": true,
          "outDir": "${workspaceRoot}/.vscode/.react"
      }
    

    ]
    }

    相关文章

      网友评论

          本文标题:ReactNative DEBUG 调试环境

          本文链接:https://www.haomeiwen.com/subject/vebrjqtx.html