Reputation: 49
I am working on a solution have several projects, you can see from following image:
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?
Upvotes: 2
Views: 987
Reputation: 1861
I had the same problem, I ran node --inspect
on a separate port for each project separately.
Run the command in the VS code terminal.
Check this link for more details.
Upvotes: 0
Reputation: 49
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
Upvotes: 1