在Visual Studio Code上调试本机脚本不起作用 [英] Debug Nativescript on Visual Studio Code not working

查看:98
本文介绍了在Visual Studio Code上调试本机脚本不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够使用cmd运行我的nativescript项目(tns运行android). 我在VSCode中打开该项目,并添加配置以对其进行调试. 我点击了debug,它看起来像是要尝试运行的调试之类的东西. (查看调试中的绿色条.但是,似乎什么也没运行.我看着调试控制台,什么都没打印出来. 请看截图.

I am able to use the cmd to run my nativescript project ( tns run android). I open the project in VSCode, and add the Configuration to debug it. I hit debug and it look like the debug try to run or something. (Look at the green bar under debug. However, nothing seem to run. I look at the debug console, nothing is print out. Please take a look at screenshot.

在此问题上花费了几天,根本无法解决. VSCode调试问题

Spent couple days on this issue and couldnt resolve it at all. VSCode Debug Issue

推荐答案

感谢Nick Iliev,

Thanks Nick Iliev,

问题实际上出在VSCode本身.某种程度上,1.20版本不适用于调试.我最终删除并重新安装了1.19.2版. 现在一切都在顺利进行. 再次感谢Nick Iliev.

The problem actually is from VSCode itself. Somehow the version 1.20 doesn't work for debug. I end up removed and reinstalled version 1.19.2. Everything is working straight forward now. Once again, thanks Nick Iliev.

这篇关于在Visual Studio Code上调试本机脚本不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆