CocosCreate 模拟器调试

我按照教程为项目添加了vscode插件,然后启动了create的模拟器,接着在vsCode中选择cocos jsb调试,结果显示错误如下:

ar: attachRequest: address: 127.0.0.1 port: 5086
ar: attachRequest: connected
ar: _termiated: Not a valid project.

配置如下:

{
    "version": "1.4.0",
    "configurations": [
        {
            "name": "Cocos JSB",
            "type": "cocos",
            "request": "attach",
            "port": 5086,
            "address": "localhost",
            "cwd": "${workspaceRoot}"
        }
    ]
}

请问如何哪位兄台有类似的情况,欢迎分享!谢谢!

Cocos Creator使用VS Code调试方法

还是有问题:

ar: attachRequest: address: localhost port: 5086
ar: attachRequest: connected
ar: _termiated: cocos firefox protocol error: received error packet: invalid length: HTTP/1.0 400 Bad Request
Content-Type
ar: _termiated: socket end
ar: _termiated: cocos firefox protocol close

我用cocoscreator1.8 启动模拟器调试
用vscode调试时报以下错,如果是chrome调试则没有问题
ar: attachRequest: address: 127.0.0.1 port: 5086
ar: attachRequest: connected
ar: _termiated: cocos firefox protocol error: received error packet: invalid length: HTTP/1.0 400 Bad Request
Content-Type
ar: _termiated: socket end
ar: _termiated: cocos firefox protocol close

同问一下

1.8我也发现调试不了,CocosCreator/resources/cocos2d-x/simulator/win32/src这下面没有project.dev.js这个文件

遇到相同问题~请问你们解决了吗

同样的问题 @jare @panda @dumganhar 首席客服

一样的错误!!!求解决。。。或者告诉我一个可以用的版本吧。哎

ar: attachRequest: address: ::1 port: 5086
ar: attachRequest: retry socket.connect
ar: attachRequest: connected
ar: _termiated: cocos firefox protocol error: received error packet: invalid length: HTTP/1.0 400 Bad Request
Content-Type
ar: _termiated: socket end
ar: _termiated: cocos firefox protocol close

文档过时了,换浏览器调试吧