Skip to content

Commit ab8cb2e

Browse files
committed
[doc] Add the way of debugging in Nodejs.
1 parent 0ac65b8 commit ab8cb2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ JavaScript SDK for [LeanCloud](http://leancloud.cn/).
1515
* 在本地进行调试,`npm install` 安装相关依赖
1616
* 执行 `gulp browserify` 会生成浏览器 SDK
1717
* 执行 `gulp release` 会生成全部版本的 SDK
18-
* 服务环境可以通过单元测试调试 `gulp test`,浏览器环境打开 test/test.html
19-
* 确保测试全部通过
18+
* 服务环境通过 mocha 调试单个文件,如调试 file.js `mocha test file`
19+
* 浏览器环境打开 test/test.html
20+
* 确保测试全部通过 `gulp test`
2021
* 提交并发起 Pull Request
2122

2223
项目的目录结构说明如下:

0 commit comments

Comments
 (0)