早上好!
我昨天更新了Visual Studio Code,现在我的Cordova扩展失败了。我收到此错误:
[cordova-debug-adapter] TypeError:路径必须是字符串。收到未定义
似乎在.vscode / launch.json文件中的每个调试方案中添加了“ cwd”属性,从而解决了该问题。有一个拉取请求,以使其永久添加到进一步的发行版中。
{ "version": "0.2.0", "configurations": [ { "name": "Run Android on device", "cwd": "${cwd}", "type": "cordova", "request": "launch", "platform": "android", "target": "device", "port": 9222, "sourceMaps": true },
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句