6

I'm trying out the newly released Visual Studio Code preview on Mac OS X, when trying to start debugging or attaching to my node.js app I get the error "Cannot start OpenDebug because Mono (or a Mono version >= 3.10.0) is required".

I have installed the Mono MDK from http://www.mono-project.com/download/.

What do I need to do to get debugging working in VSCode preview?

3 Answers 3

11

I did a brew install mono and the problem went away the next time I hit the run button.

Unfortunately, I have no idea why the MDK installer wouldn't work for you. This was an optimal solution for me since I use homebrew for most other development tools already.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! I Tried getting mono from Macports but it was a lower version than the required one.
2

My guess is that your mono installation did not add mono to the PATH, thus visual studio code: preview could not find it. brew install mono should fix the issue

2 Comments

What should the PATH read? I have tried to do the brew install mono but got Error: SHA1 mismatch every time I tried to install it. So as I have installed the mono 4.0.0 as written above, I just want to correct the OSX PATH, to...?
A colleague of mine got the SHA1 mismatch and needed to do a brew upgrade before it worked.
0

I Installed mono on my ubuntu and it worked.

sudo apt-get install mono-complete

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.