I Created a new Angular 6 CLI project
ng new myProjects
Created 'sub project'
ng g mySubProject
If I ng serve mySubProject then try to debug from VS Code using my normal launch.json, then breakpoints are not hit.
{
"name": "Launch Chrome (test)",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4200/",
"webRoot": "${workspaceFolder}"
},
Can someone guide me how to set up my launch.json to debug sub-projects like this?
(for details on how I have my sub projects set up, it's based on a post here )
If I just ng serve, then this launch.json debigs the 'main' project OK - so I am guessing I need to set up somewhere in the launch.json to tell it where the child project is?