Skip to content

Javascript Debug Terminal hangs with nx serve my-backend with nx + nest.js after 1.56 #124060

Closed
@jesse23

Description

@jesse23

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.56
  • OS Version: macos 11.3.1
  • nrwl 12.1.0
  • nestjs 7.6.15

Steps to Reproduce:

  1. Start a Javascript Debug Terminal
  2. npx nx serve my-backend

Result:

  • debugger hangs with:
 ➜ npx nx serve my-backend                                                                                                                                       Mon May 17 17:11:56 2021
Debugger attached.

> nx run my-backend:serve 
Debugger attached.
Starting type checking service...
Using 14 workers with 2048MB memory limit
Debugger attached.
Debugger attached.
Debugger attached.
Debugger attached.
Type checking in progress...
Hash: 7f7ca48a79b89d4aa340
Built at: 05/17/2021 5:12:20 PM
Entrypoint main [big] = main.js main.js.map
chunk {main} main.js, main.js.map (main) 1.53 MiB [entry] [rendered]
  • After press Ctrl+C to terminate the process, some of the debugger processes are still alive:
    image

Activity

jesse23

jesse23 commented on May 17, 2021

@jesse23
Author
  • It was working on last week, but after it gets upgrade automatically, it is start failing.
    • I am sure last week I was in 1.56.x since I've configured the terminal tab.
  • But I tired to roll it back to 1.56.1 and 1.56.0, neither of them works.
  • I tried to roll it back to 1.55. It works again.
    • When it works fine, looks it will attach to the main.js correctly...which is not happening in the not working case.
connor4312

connor4312 commented on May 18, 2021

@connor4312
Member

Please collect a log on both versions so I can see the difference 🙂 For the debug terminal, you can do so using the following setting:

  "debug.javascript.terminalOptions": {
    "trace": true
  },

/jsDebugLogs

jesse23

jesse23 commented on May 18, 2021

@jesse23
Author

Thx will try to update it before next Monday.

jesse23

jesse23 commented on May 23, 2021

@jesse23
Author

Mailed the log. Thx!

jesse23

jesse23 commented on May 28, 2021

@jesse23
Author

@connor4312 Sent another mail with Google drive link. Sorry for the late.

Have a nice holiday!

connor4312

connor4312 commented on Jun 9, 2021

@connor4312
Member

Thanks for the logs! This'll be fixed in the next nightly

added
bugIssue identified by VS Code Team member as probable bug
debugDebug viewlet, configurations, breakpoints, adapter issues
and removed
info-neededIssue requires more information from poster
on Jun 9, 2021
added this to the June 2021 milestone on Jun 9, 2021
rzhao271

rzhao271 commented on Jul 2, 2021

@rzhao271
Contributor

@jesse23 has the issue been fixed for you with the nightly version of the extension?

6 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

author-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Javascript Debug Terminal hangs with `nx serve my-backend` with nx + nest.js after 1.56 · Issue #124060 · microsoft/vscode