I'm feeling quite lost here, could someone please help me make sense of this configuration?
launch.json
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/workspace/angular/app/main.ts",
I've noticed various options for the "program" attribute but I'm unsure of its purpose.
The only setup that seems to work for me is:
"program": "${workspaceRoot}/workspace/angular/node_modules/lite-server/bin/lite-server",
However, this setup doesn't allow me to debug the application and opens the browser at "http://localhost:3000", which isn't the full app address.
I've seen examples like:
"program": "${workspaceRoot}/app/app.js",
"program": "${workspaceRoot}/app/app.ts",
But none of them seem to run; I keep encountering "System is not defined" errors. What should main.ts contain?
I've also come across this variation:
"program": "http://localhost/blabla/index.html",
What is the correct approach in this case?