Skip to content

VS Code breakpoint with tsx and Nodejs 20.12.0 does not work #506

@piquark6046

Description

@piquark6046

Acknowledgements

  • I searched existing issues to avoid duplicates
  • I understand this is a place to report a confirmed bug (not seek debugging help)
  • I understand this is a collaborative open source project, and relies on community contributions
  • I have read and understood the Contribution guide

Minimal reproduction URL

List-KR/multithread-array#1

Version

4.7.1

Node.js version

20.12.0

Package manager

npm

Operating system

Linux

Problem & expected behavior (under 200 words)

  • What happened: All VS Code breakpoints are ignored

  • What I expected: VS Code breakpoint works as using Node.js 20.11.1

  • Screenshot:

    Screenshot

    image

  • devcontainer.json

    {
        "name": "Typescript with Rust",
        "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
        "features": {
      	  "ghcr.io/devcontainers/features/node:latest": {
      		  "nodeGypDependencies": true,
      		  "version": "lts"
      	  },
      	  "ghcr.io/devcontainers/features/rust:latest": {
      		  "version": "latest",
      		  "profile": "default"
      	  },
      	  "ghcr.io/devcontainers-contrib/features/bash-command:latest": {
      		  "command": "echo hi!"
      	  },
      	  "ghcr.io/devcontainers-contrib/features/npm-package:latest": {
      		  "package": "typescript",
      		  "version": "latest"
      	  },
      	  "ghcr.io/devcontainers-contrib/features/typescript:latest": {
      		  "version": "latest"
      	  },
      	  "devwasm.azurecr.io/dev-wasm/dev-wasm-feature/rust-wasi:latest": {}
        },
        "remoteUser": "root",
        "mounts": [
      	  "source=${localEnv:HOME}/repos/Filters,target=/workspaces/resources/Filters,type=bind,consistency=cached",
      	  "source=${localEnv:HOME}/repos/Userscript,target=/workspaces/resources/Userscript,type=bind,consistency=cached"
        ]
    }

Contributions

  • I will open a pull request for this issue
  • I will support the work financially (any amount helps)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingoutdated

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions