码迷,mamicode.com
首页 > 其他好文 > 详细

ZeroBraneStudio之支持远程调试

时间:2014-12-04 23:02:33      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   ar   color   sp   文件   div   

打开ZBS后,如果需要远程调试得先开启调试服务器:Project->Start Debugger Server

打开之后就可以编辑文件进行测试了。代码如下:

 1 local ZBS = ‘D:/ZeroBraneStudio‘
 2 package.cpath = ZBS..‘/bin/?.dll;‘..ZBS..‘/bin/clibs/?.dll‘
 3 package.path = ZBS..‘/lualibs/?.lua;‘..ZBS..‘/lualibs/?/?.lua‘
 4 
 5 
 6 require(‘mobdebug‘).start()
 7 
 8 local i = 0
 9 while true do
10     i = i + 1
11   print(i)
12 end

效果图

bubuko.com,布布扣

ZeroBraneStudio之支持远程调试

标签:style   blog   http   io   ar   color   sp   文件   div   

原文地址:http://www.cnblogs.com/fh2002/p/4143940.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!