title: Debugging Eigen in VSCode
body: <p>During debugging I'd like to have access to eigen matrices and vectors values. It seems that once I have a <code>.natvis</code> file, a <a href="https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2019" rel="noreferrer">custom view of c++ object could be created</a>. There is a <code>.natvis</code> file for Eigen <a href="https://bitbucket.org/eigen/eigen/src/tip/debug/msvc/eigen.natvis" rel="noreferrer">here</a>, however I don't know a way to integrate it with VSCode. I also tried a <a href="https://stackoverflow.com/questions/25085465/using-gdb-with-eigen-c-library">gdb extension</a> but didn't work out.</p>
  
  <p><a href="https://i.stack.imgur.com/fb5ll.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fb5ll.png" alt="Current debugger view"></a></p>
  
  <p>How can I do that? Or what other solution do I have?</p>