问题描述
我已经在ubuntu 14.0 lts中下载并安装了vscode,并包含了现有的node.js项目.首先,我认为与vscode有关的是调试我的应用程序,为此,我要调试(ctrl + shift + D)插件,使用"name"和"program" ="app.js"属性配置launch.json文件.将调试点放在app.js文件中,然后单击运行"按钮.在这里,我收到错误消息由于需要Mono(或Mono版本> = 3.10.0)而无法启动OpenDebug".怎么解决呢?
I have downloaded and install vscode in ubuntu 14.0 lts, and include existing node.js project. First think I have to do with vscode is debugging my app, for that I have go to debug (ctrl+shift+D) penal, configure launch.json file with "name" and "program"="app.js" properties. Put debug point in app.js file and click on run button. Here I am getting error "Cannot start OpenDebug because Mono (or a Mono version >= 3.10.0) is required". How to solve it?
推荐答案
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-complete
mono --version # Mono JIT compiler version 4.0.1 (tarball Tue Apr 28 11:47:58 UTC 2015)
来源: http://www.mono-project.com /docs/getting-started/install/linux/
这篇关于无法启动OpenDebug,因为需要Mono(或Mono版本== 3.10.0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!