I try to debug my nestjs application, I follow this article, https://javascript.plainenglish.io/debugging-nestjs-in-vscode-d474a088c63b but still cannot debug the application
This is my launch.json
{
"type": "node",
"request": "launch",
"name": "Debug Nest Framework",
"args": [
"${workspaceFolder}/api/src/main.ts"
],
"runtimeArgs": [
"--nolazy",
"-r",
"ts-node/register",
"-r",
"tsconfig-paths/register"
],
"sourceMaps": true,
"envFile": "${workspaceFolder}/.env",
"cwd": "${workspaceRoot}/api",
"console": "integratedTerminal",
"protocol": "inspector"
}
when I debugging the app seems start debugging but after get this error
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/companies/companies.service.ts:13:49 - error TS2304: Cannot find name 'Company'.
How can I debug this app?

Companyclass?./node_modules/.bin/nest start --exec "node --inspect-brk"and select Debug: attach to node process in your command palletnest start --debug(start:debug in the package.json) and attach to that process