这个应该是环境问题,和代码没关系,我新建一个空白的代码片段开启 skyline 调试也会崩溃,打开调试开发者工具界面看到有报错信息<br /><br /><br />stderr: (node:36748) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.<br />(Use `node --trace-deprecation ...` to show where the warning was created)<br /><br /><br />(anonymous) @ C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\node_modules.wxvpkg\@sentry\utils\dist\instrument.js<br /><br /><br />C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\node_modules.wxvpkg\@sentry\utils\dist\instrument.js:1 [2022-08-23 15:02:51.245] [ERROR] [C:\Users\xxxx\AppData\Local\微信开发者工具\User Data\81d774828fc67c7dafc59cd74ce70db1\WeappCode\package.nw\core.wxvpkg\0137de1627f9007d2420e9783d77cc35.js] appservice webview exit with reason: crashed
什么版本开发者工具