As I wants to debug the server side SSR(Server side render) code using visual studio code. currently it's debugging only to the bundled files. that is bit tedious to do. So, I am trying to debug the actual file while SSR is running.
Please advise any way or Visual studio code lunch setting configuration.
currently using configuration in lunch settings :-
{
"type": "node",
"request": "attach",
"name": "Attach by Process ID",
"protocol": "inspector",
"processId": "${command:PickProcess}",
"sourceMaps": true,
"stopOnEntry": false,
"cwd": "${workspaceRoot}",
"port": 9229,
"sourceMapPathOverrides": {
"webpack:///./*": "${workspaceFolder}/*",
"webpack:///*": "*"
}
}
So, I am attaching with node process running.