Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

简聊开发中怎么调试? #26

Closed
m430 opened this issue Aug 24, 2016 · 2 comments
Closed

简聊开发中怎么调试? #26

m430 opened this issue Aug 24, 2016 · 2 comments

Comments

@m430
Copy link

m430 commented Aug 24, 2016

简聊代码我看了也不少了,现在没有HMR功能,很影响开发效率,这个就不说了,有时间我自己解决吧,但是有时候改bug调试起来很痛苦,还是基本用console的方式调试,请问你们有更好的方式吗?

我指的是server端哦。

@sailxjx 请指教,谢谢啦~ : )

@sailxjx
Copy link
Member

sailxjx commented Aug 24, 2016

server 端一般就用 console 来调试,你可以用 node-dev 来辅助自动重启。

如果你能折腾,可以去试试 node-inspector,不过我觉得太麻烦,不如 console 省事

@m430
Copy link
Author

m430 commented Aug 25, 2016

好吧,谢谢哈,这个问题可以关闭了

@sailxjx sailxjx closed this as completed Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants