erha19 closed pull request #207: Update integrate-devtool-to-ios.md
URL: https://github.com/apache/incubator-weex-site/pull/207
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/source/cn/guide/integrate-devtool-to-ios.md
b/source/cn/guide/integrate-devtool-to-ios.md
index 602406cc0..0a56a1b2f 100644
--- a/source/cn/guide/integrate-devtool-to-ios.md
+++ b/source/cn/guide/integrate-devtool-to-ios.md
@@ -88,10 +88,10 @@ pod 'WXDevtool', '0.15.3', :configurations => ['Debug'],
在你自己的程序中添加如下代码:
```object-c
-[WXDevTool
launchDevToolDebugWithUrl:@"ws://30.30.31.7:8088/debugProxy/native"];
+[WXDevTool
launchDevToolDebugWithUrl:@"ws://30.30.31.7:{port}/debugProxy/native/{channelid}"];
```
-其中的 ws 地址正是 `Weex debug` 控制台中出现的地址,直接 copy 到 `launchDevToolDebugWithUrl` 接口中。
+其中的 ws 地址正是 `Weex debug` 控制台中出现的地址,如果不是通过扫码链接的方式,你可以通过`weex debug --port 8888
--channelid 1` 去指定端口号及`channelid`, 随后可以将链接填写到 `launchDevToolDebugWithUrl` 接口中。
如果程序一启动就开启 Weex 调试,**需要在 WeexSDK 引擎初始化之前**添加代码:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services