cocoside2.0+cocos framework3.8 创建项目停 运行停留在 waiting for debugger connect

os:10.10.5
cocoside:2.0最新
cocos frameworkv3.8

在模拟器上运行 停留在 waiting for debugger connect 界面 点击play按钮 也进不去

console输出

09:50:06 Platform and Plugin Updates: IntelliJ IDEA is ready to update.
09:50:19 Starting simulator…
09:50:21 Uploading resources …
09:50:21 Uploading resources …
09:50:21 Get data from file /Users/yangyi/yyacount/work/config.json failed
09:50:21 WORKAREA WIDTH 1407.00, HEIGHT 855.00
09:50:21 FRAME SCALE = 1.00
09:50:21 GLFWError #65544 Happen, Failed to retrieve display name
09:50:21 {
09:50:21 gl.supports_vertex_array_object: true
09:50:21 cocos2d.x.version: cocos2d-x-3.8
09:50:21 gl.vendor: NVIDIA Corporation
09:50:21 gl.supports_PVRTC: false
09:50:21 gl.renderer: NVIDIA GeForce GT 750M OpenGL Engine
09:50:21 cocos2d.x.compiled_with_profiler: false
09:50:21 gl.max_texture_size: 16384
09:50:21 gl.supports_ETC1: false
09:50:21 gl.supports_BGRA8888: false
09:50:21 cocos2d.x.build_type: DEBUG
09:50:21 gl.supports_discard_framebuffer: false
09:50:21 gl.supports_NPOT: true
09:50:21 gl.supports_S3TC: true
09:50:21 gl.version: 2.1 NVIDIA-10.4.2 310.41.35f01
09:50:21 gl.supports_ATITC: false
09:50:21 gl.max_texture_units: 16
09:50:21 cocos2d.x.compiled_with_gl_state_cache: true
09:50:21 }
09:50:21 Project Config:
09:50:21 project dir: /Users/yangyi/yyacount/work/xx/
09:50:21 writable path: (PROJDIR)/ 09:50:21 script file: (PROJDIR)/
09:50:21 frame size: 960 x 640
09:50:21 frame scale: 1.00
09:50:21 show console: NO
09:50:21 write debug log: NO ()
09:50:21 listen:
09:50:21 debugger: Cocos Code IDE
09:50:21 add searching path:
09:50:21 Console: listening on 0.0.0.0 : 6050
09:50:21 Console: listening on 0.0.0.0 : 6060
09:50:21 iShow!
09:53:50 Starting simulator…
09:53:52 Uploading resources …
09:53:52 Uploading resources …
09:53:52 Get data from file /Users/yangyi/yyacount/work/config.json failed
09:53:52 WORKAREA WIDTH 1407.00, HEIGHT 855.00
09:53:52 FRAME SCALE = 1.00
09:53:52 GLFWError #65544 Happen, Failed to retrieve display name
09:53:52 {
09:53:52 gl.supports_vertex_array_object: true
09:53:52 cocos2d.x.version: cocos2d-x-3.8
09:53:52 gl.vendor: NVIDIA Corporation
09:53:52 gl.supports_PVRTC: false
09:53:52 gl.renderer: NVIDIA GeForce GT 750M OpenGL Engine
09:53:52 cocos2d.x.compiled_with_profiler: false
09:53:52 gl.max_texture_size: 16384
09:53:52 gl.supports_ETC1: false
09:53:52 gl.supports_BGRA8888: false
09:53:52 cocos2d.x.build_type: DEBUG
09:53:52 gl.supports_discard_framebuffer: false
09:53:52 gl.supports_NPOT: true
09:53:52 gl.supports_S3TC: true
09:53:52 gl.version: 2.1 NVIDIA-10.4.2 310.41.35f01
09:53:52 gl.supports_ATITC: false
09:53:52 gl.max_texture_units: 16
09:53:52 cocos2d.x.compiled_with_gl_state_cache: true
09:53:52 }
09:53:52 Project Config:
09:53:52 project dir: /Users/yangyi/yyacount/work/xx/
09:53:52 writable path: (PROJDIR)/ 09:53:52 script file: (PROJDIR)/
09:53:52 frame size: 960 x 640
09:53:52 frame scale: 1.00
09:53:52 show console: NO
09:53:52 write debug log: NO ()
09:53:52 listen:
09:53:52 debugger: Cocos Code IDE
09:53:52 add searching path:
09:53:52 Console: listening on 0.0.0.0 : 6050
09:53:52 Console: listening on 0.0.0.0 : 6060
09:53:53 iShow!

我也遇到这个问题了,应该是项目启动运行时,加载那个config.json文件,路径错误,文件前少了一级当前项目所在文件夹的路径,暂时还没找到哪里修改……

问题已经解决了, 把config.json 拷贝一份到上级目录就可以了

config.json不是在工程的根目录下吗?上一级到哪里去了?这个一直过不去

可是……这成什么了嘛!跑到项目目录外算怎么回事呢,哎!

只要知道是哪里加载的config.json,路径为什么少了一级,重新设置下就好了……

默认模拟器的问题?……:9:

敢问楼上这个对应的VS版本必须是2013吗,cocos的插件工具怎么用?(就是工程右键cocos tools弹出的那两个选项)

http://www.cocos.com/doc/article/index?type=code-ide&url=/doc/cocos-docs-master/manual/code-ide/install-idea-zh.md

这个文档,靠下,有关于cocos tools的使用说明,不过我没用过

楼上的兄弟们,我仔细回想了我今天干了什么导致出现config.json路径问题,发现之前升级了Cocos 引擎到最新2.3.2,难道是……为了证实,降级安装到2.3.1.2版本,OK啦!有木有!!!别问我为什么,我也不知为什么!
:2::11::6::3:

谢谢了~再仔细研究一下

兄弟,你说的cocos引擎如何降价呢?:9:

:8::8::8::8::8::8::8::8::8: