Henry Lu Henry Lu - 16 days ago 8
C# Question

How can I debug multi-project using VS Code?

I am working on a solution have several projects, you can see from following image:

enter image description here

And my question is I just can debug the main program but counld not debug the dependency project; Did it have any solutions to solve my problem? Can anyone give me reply?

Answer

I have found the solution,just modify the project.json so that you can touch breakPoint at the dependency project;

    "buildOptions": {
    "debugType": "portable"
  },

value debugType as portable