请问如何配置vscode的layaair源码调试环境? #1361
Replies: 8 comments
-
1.我们常用的node版本是10.15.1 |
Beta Was this translation helpful? Give feedback.
-
感谢回答,我试试node10.15.1,尝试过的12.xx,13.xx,14.xx版本都又各种问题,gulp和rollup都不太兼容 |
Beta Was this translation helpful? Give feedback.
-
请问下这个要怎么配置debug的环境 |
Beta Was this translation helpful? Give feedback.
-
一般是直接开服务器 用浏览器来调试的 |
Beta Was this translation helpful? Give feedback.
-
这个看过好多遍了 |
Beta Was this translation helpful? Give feedback.
-
这个调试是说再f12中断点了看吗?之前一直是在vscode中下的断点,无法触发debug |
Beta Was this translation helpful? Give feedback.
-
/usr/bin/env 'NODE_OPTIONS=--require "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js" --inspect-publish-uid=http' 'VSCODE_INSPECTOR_OPTIONS={"inspectorIpc":"/var/folders/m6/jxpc4_710yxgtbymplyn615c0000gn/T/node-cdp.72491-1.sock","deferredMode":false,"waitForDebugger":"","execPath":"/usr/local/bin/node","onlyEntrypoint":false,"autoAttachMode":"always","fileCallback":"/var/folders/m6/jxpc4_710yxgtbymplyn615c0000gn/T/node-debug-callback-34a264824215f26b"}' /usr/local/bin/node ./node_modules/gulp/bin/gulp.js LayaAirBuild [15:40:42] Finished 'tsc' after 15 ms VSCode ctr+F5 编译报错,mac系统,按照https://ldc2.layabox.com/doc/?nav=zh-ts-1-0-3文档操作的,anywhere启动web服务也不能成功 |
Beta Was this translation helpful? Give feedback.
-
1,2.9的源码,适配的node版本是多少?这个尝试了好多个都有问题。
2,要如何才能debug layaair引擎的源码,想单步调试跟一下底层逻辑
3,修改的引擎,要build之后放到工程,然后才能验证是否改好了,有办法直接用引擎源码的来跑工程吗?
Beta Was this translation helpful? Give feedback.
All reactions