-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
priority: mediumMedium Priority (not high, not low priority)Medium Priority (not high, not low priority)scope: nodeIssues related to Node, Express, NestJS support for NxIssues related to Node, Express, NestJS support for Nxtype: bug
Description
Current Behavior
I am getting unbound breakpoints in VSCode when trying to debug Nest with a fresh npx create-nx-workspace@latest
. This just suddenly started occurring over the past 3 days with no real cause that I can narrow it down to.
Though creating a Nest app using @nestjs/cli with npx @nestjs/cli@latest new
and serving with nest start --debug
with the same launch.json seems to work. It seems to be something specific to Nx.
Expected Behavior
Breakpoints should work
GitHub Repo
No response
Steps to Reproduce
- Created a fresh Nest integrated monorepo using
npx create-nx-workspace@latest
- Launch VSCode with all extensions disabled via
code . --disable-extensions
- Add the following .vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "nest",
"type": "node",
"request": "attach",
"port": 9229,
"restart": true
}
]
}
- Set a breakpoint,
nx serve api
and start VSCode debugger
Nx Report
Node : 18.13.0
OS : win32 x64
npm : 8.19.3
nx : 15.6.3
@nrwl/angular : Not Found
@nrwl/cypress : Not Found
@nrwl/detox : Not Found
@nrwl/devkit : 15.6.3
@nrwl/esbuild : Not Found
@nrwl/eslint-plugin-nx : 15.6.3
@nrwl/expo : Not Found
@nrwl/express : Not Found
@nrwl/jest : 15.6.3
@nrwl/js : 15.6.3
@nrwl/linter : 15.6.3
@nrwl/nest : 15.6.3
@nrwl/next : Not Found
@nrwl/node : 15.6.3
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/rollup : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : Not Found
@nrwl/web : Not Found
@nrwl/webpack : 15.6.3
@nrwl/workspace : 15.6.3
@nrwl/vite : Not Found
typescript : 4.8.4
---------------------------------------
Local workspace plugins:
---------------------------------------
Community plugins:
Failure Logs
No response
Additional Information
No response
Micha-Richter, jaypea, tonivj5, tagplus5, cpycom and 27 morecagcak, jdnichollsc and EthanSK
Metadata
Metadata
Assignees
Labels
priority: mediumMedium Priority (not high, not low priority)Medium Priority (not high, not low priority)scope: nodeIssues related to Node, Express, NestJS support for NxIssues related to Node, Express, NestJS support for Nxtype: bug