add more detailed explanation in Building jar package of source code (#569)
diff --git a/docs/en-us/dev/build.md b/docs/en-us/dev/build.md
index 8b0f139..2e254f4 100644
--- a/docs/en-us/dev/build.md
+++ b/docs/en-us/dev/build.md
@@ -41,11 +41,13 @@
## Building jar package of source code
-build Dubbo source code jar package with below command, which can debug Dubbo source code.
+build Dubbo source code jar package with below command.
```sh
mvn clean source:jar install -Dmaven.test.skip
```
+and modify the dubbo dependency in your sample project to the SANPSHOT version of the local repository, and then use remote debugger to debug dubbo.
+
## IDE support
diff --git a/docs/zh-cn/dev/build.md b/docs/zh-cn/dev/build.md
index 2ab327b..3804054 100644
--- a/docs/zh-cn/dev/build.md
+++ b/docs/zh-cn/dev/build.md
@@ -41,11 +41,12 @@
## 构建源代码 jar 包
-通过以下命令以构建 Dubbo 的源代码 jar 包,方便用来调试 Dubbo 源代码
+通过以下命令以构建 Dubbo 的源代码 jar 包
```sh
mvn clean source:jar install -Dmaven.test.skip
```
+并且修改你的样例项目中的dubbo依赖为本地仓库的SANPSHOT版本,然后使用远程debug来调试dubbo。
## IDE 支持