Debugger shows wrong symbols in 1.75.0 and 1.75.1 on TypeScript project #1561
Closed
Description
opened on Feb 10, 2023
Type: Bug
- Start debugger on a project with a typescript
- Hover over symbol and see wrong value
We use babel for transpilling and generating source maps:
https://github.com/connectedcars/node-setup
Setting sourcemaps: false and running debug on the transpilled javascript version fixes the issue.
launch.json
{
"name": "parse-server-frames",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"preLaunchTask": "npm: build:js",
"sourceMaps": true,
"program": "${workspaceFolder}/bin/parse.ts",
"outFiles": [
"${workspaceRoot}/build/dist/**/**.js"
],
"args": [
"parse-server-frames",
""
],
"env": {},
"internalConsoleOptions": "openOnSessionStart"
},
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:34:01.965Z)
OS version: Darwin arm64 22.2.0
Modes:
Sandboxed: No
System Info
Item | Value |
---|---|
CPUs | Apple M1 (8 x 24) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | 2, 2, 2 |
Memory (System) | 16.00GB (0.05GB free) |
Process Argv | --crash-reporter-id 21c864d5-16f5-4c52-86a0-bac29ba9cf20 |
Screen Reader | no |
VM | 0% |
Extensions (23)
Extension | Author (truncated) | Version |
---|---|---|
vscode-base64 | ada | 0.1.0 |
vscode-eslint | dba | 2.4.0 |
udev-rules | dpk | 1.0.1 |
EditorConfig | Edi | 0.16.4 |
bitbake | Eug | 1.1.2 |
vscode-jest-runner | fir | 0.4.60 |
vscode-pull-request-github | Git | 0.58.0 |
go | gol | 0.37.1 |
vscode-systemd-support | han | 1.0.1 |
git-graph | mhu | 1.30.0 |
vscode-docker | ms- | 1.23.3 |
remote-containers | ms- | 0.275.1 |
remote-ssh | ms- | 0.96.0 |
remote-ssh-edit | ms- | 0.84.0 |
cpptools | ms- | 1.13.9 |
hexeditor | ms- | 1.9.11 |
remote-explorer | ms- | 0.2.0 |
vsliveshare | ms- | 1.0.5828 |
rust-analyzer | rus | 0.3.1394 |
rewrap | stk | 1.16.3 |
tom | 1.2.2 | |
change-case | wma | 1.0.0 |
srecord | xia | 0.0.5 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1cf:30587006
282f8724:30602487
f6dab269:30613381
pythonsymbol12:30657548
Activity