microsoft / vscode-recipes

MIT License
5.86k stars 577 forks source link

Recipe for debugging angular with https #267

Closed juniormayhe closed 2 years ago

juniormayhe commented 4 years ago

I could not find here a sample for debugging a site under https. All samples have http:// as URL.

I have been trying several launch.json approaches to launch or attach to chrome on https://localhost:4200 but none seem to work. I cannot debug app.component.ts.

Could someone add a launch.json sample that uses angular on https here https://github.com/Microsoft/vscode-recipes/tree/master/Angular-CLI?

connor4312 commented 2 years ago

Yea, you just need to change the protocol. However there may be more issues in your setup that prevent this from working. Please open an issue here if you are still having trouble: https://github.com/microsoft/vscode-js-debug/issues/new/choose