Skip to content

How to Debug client and server code in VS Code? #202

@selvakumarkec

Description

@selvakumarkec

Hi,
How to debug both client and server code in VC?
i tried this
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/server/app.ts",
"cwd": "${workspaceRoot}",
"outFiles": [
"${workspaceRoot}/dist/server/app.js"
],
"skipFiles": [
"${workspaceRoot}/node_modules/**/*.js"
],
"sourceMaps": true,
"console": "externalTerminal"
}
]

it is listening only the server. How to launch and attach client as well?

Regards,
Selva

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions