This changelog records changes to stable releases since 1.50.2. "TBA" changes here may be available in the nightly release before they're in stable. Note that the minor version (v1.X.0
) corresponds to the VS Code version js-debug is shipped in, but the patch version (v1.50.X
) is not meaningful.
- fix: support object property shorthand in logpoints (#1788)
- fix: pages not loading in browser after attach browser disconnect (#1795)
- fix: skipFiles not matching/negating with special chars (vscode#203408)
- fix: respect resolveSourceMapLocations with remoteRoot (#1921)
- fix: match mjs and cjs in outFiles by default (vscode#200665)
- fix: show errors from conditional breakpoints (vscode#195062)
- fix: pausing on exceptions caused by internal scripts (vscode#195062)
- fix: automatically reconnect when debugging browsers in port mode (vscode#174033)
- feat: support XHR breakpoints (#1856)
- feat: improve instrumentation breakpoints view (#1853)
- fix: reuse the webassembly worker across sessions in the debug tree (#1830)
- fix: respect sourceMapResolveLocations in the web extension host (vscode#196781)
- fix: path diff display in diagnostic tool (vscode#195891)
- fix: allow variable substitutions for ports properties (vscode#192014)
- feat: improve event listener breakpoints view (#1853)
- fix: envFiles variables appending rather than replacing in attach (vscode#1935510)
- fix: cache-bust sourcemaps if the underlying content changes (#1803)
- fix: make source map renames scope-aware
- fix: breakpoints not setting in webpack
eval
-type sourcemaps (vscode#194988) - fix: error when processing private properties with a map (#1824)
- feat: enable DWARF-based WebAssembly debugging (#1789)
- feat: show class names of methods in call stack view (#1770)
- fix: edge devtools incorrectly ask for local forwarding (vscode#193110)
- fix: authentication sourcemap fallback failing for some maps (#1814)
- fix: source map stepping command registered multiple times (#1817)
- feat: allow basic webassembly debugging (vscode#102181)
- feat: add
Symbol.for("debug.description")
as a way to generate object descriptions (vscode#102181) - feat: adopt supportTerminateDebuggee for browsers and node (#1733)
- fix: child processes from extension host not getting spawned during debug
- fix: support vite HMR source replacements (#1761)
- fix: immediately log stdout/err unless EXT is encountered (vscode#181785)
- fix: hint content type for sources with query strings (vscode#181746)
- chore: trigger perScriptSourceMaps for vite dev server (#1739)
- fix: child process tree not terminating on all Linux distros (#1747)
- fix: set breakpoints predictably when launching with files (#1748)
- fix: don't overwrite custom NODE_OPTIONS (#1746)
- fix: ECONNREFUSED when debugging from WSL (requires VS Code Insiders until release) (#1603)
- fix: terminal launches sometimes sending commands too soon (#1642)
- fix: step into
eval
whenpauseForSourceMap
is true does not pause on next available line (#1692) - fix: useWebview debug sessions getting stuck if program exits without attaching (#1666)
- fix: improve the display of map and set entries
- fix: do not to translate "promise rejection" (#1658)
- fix: breakpoints not hitting early on in nested sourcemapped programs (#1704)
- fix: sourcemap predictor not filtering nested session on windows (#1719)
- fix: increase smart step backout threshold for better stepping (#1700)
- fix: Blazor sources sometimes being missing (dotnet/runtime#86754)
- fix: possible bad state when resuming multiple times with a slow client
- fix: vite sources on posix not setting breakpoints correctly (#1661)
- fix: debugger failing on Node <=12 (#1624)
- fix: sourcemap lookups on ipv6 localhost addresses (vscode#167353)
- fix: breakpoints not binding in certain cases if localRoot is a path child of remoteRoot (#1617)
- fix: browser debugging in remotes not working (#1628)
- fix: allow userDataDir in windows directory junctions (#1656)
- feat: support ETX in stdio console endings (vscode#175763)
- feat: add 'remoteHostHeader' option for node attach (#1664)
- fix: repl stacktrace with renames showing too much info (#1259)
- fix: recursive source map resolution parsing ignored locations (vscode#169733)
- fix: evaluateName in watch variables not being set correctly (vscode#175758)
- fix: unbound breakpoints in sourcemaps on Chrome 112 (#1567)
- fix: assorted bad source behaviors when reloading a page (#1582)
- fix: step over eval/new Function with sourcemaps not working (#1556)
- fix: 'break on caught exceptions' pausing on worker threads (#1591)
- chore: remove webpack, adopt esbuild
- fix: typeerror for users of vsDebugServer.bundle.js (#1502)
- fix: don't fail on dynamic config provisioning if no package.json's exist (vscode#172522)
- fix: expansion of non-primitive getters not working (#1525)
- fix: support rich ANSI output for complex logs (vscode#172868)
- fix: source map resolution in parent workspace folder paths not working (#1554 comment)
- fix: revert support for renamed property accessors (#1561)
- fix: resolveSourceMapLocations not being auto-filled for ext host debug (#1554 comment)
- fix: js files with sourceURLs opening readonly versions (#1476)
- fix: breakpoints not setting in paths with special glob characters (vscode#166400)
- fix: better handling of multiple glob patterns and negations (#1479)
- fix: skipFiles making catastrophic regexes (#1469)
- fix: private properties in Blazor apps not grouping correctly (#1331)
- fix: perScriptSourcemaps not reliably breaking (vscode#166369)
- fix: custom object
toString()
previews being too short (vscode#155142) - fix: show warning if console output length is hit (vscode#154479)
- fix: improve variable and repl performance in large projects (#1433)
- fix: add ipv4->6 fallback (vscode#167353)
- fix: js-debug in the browser showing extraneous error (#1440)
- fix: sourcemap renames not resolving property accessors (#1383)
- fix: breakpoint in blazor files set in JS not applying (#1488)
- fix: reduce number of ports used by debugger (vscode#169182)
- fix: support launching chrome dev/beta as default fallbacks (#1489)
- fix: show memory refrence button for top-level watch expressions (vscode#164124)
- fix: don't hardcode generated source types as javascript (vscode#168013)
- refactor: improve breakpoint scanning speed 2-3x (#1498)
- feat: add automatic support for nested sourcemaps (#1390)
- feat: add an
ignoreLaunchArgs
option (vscode#162957) - feat: add support for
console.profile
(#1443) - fix: copying a date object resulting in an empty object (vscode#162747)
- fix: improve performance when using skipFiles in large projects (#1179)
- fix: breakpoints failing to set on paths with multibyte URL characters (#1364)
- fix: properly handle UNC paths (#1148)
- fix: discover npm scripts in nested workspace folders (#1321)
- chore: loosen restriction around enabling auto attach (#1392)
- fix: use platform preferred case in launcher (#1448) Contributed on behalf of STMicroelectronics
- fix: request loop on certain kinds of Node.js attach failures (vscode#156810)
- fix: breakpoints not being removed during startup (#1371)
- feat: make Deno easier to configure
- fix: path display issues in breakpoint diagnostic tool (#1343)
- fix: improve breakpoint resolution in webpack HMR (vscode#155331)
- fix: allow overriding resolution of workspaceFolder in pathMapping (#1308)
- fix: extraneous warnings when restarting debugging (vscode#156432)
- fix: webview debugging (#1344)
- fix: stack traces logged immediately before exit not being sourcemapped (vscode#142197)
- feat: support providing terminal args as a string to avoid escaping (#1335)
- fix: performance improvements for setting breakpoints in large projects (vscode#153470)
- fix: completions not returning stack variables (vscode#153651)
- fix: react native windows direct debugging not showing variables (vscode#154976)
- fix: previews showing in some cases
[object Object]
(#1338)
- feat: simplify pretty print to align with devtools (vscode#151410)
- feat: add a new Debug: Save Diagnostic JS Debug Logs command (#1301)
- feat: use custom
toString()
methods to generate object descriptions (#1284) - feat: allow easy toggling between compiled and sourcemapped sources (vscode#151412)
- feat: implement step in targets (vscode#123879)
- fix: debugged child processes in ext host causing teardown (#1289)
- fix: errors thrown in process tree lookup not being visible (vscode#150754)
- fix: extension debugging not working with two ipv6 interfaces (vscode#144315)
- fix: rare freezes if browsers logged information to stdout
- chore: adopt new restartFrame semantics from Chrome 104 (#1283)
- chore: support new sha script hashes from chrome (#1244)
- fix: bigint value previews not working in some cases (#1277)
- fix: snap versions in alternate install locations resulting in warning (#1239)
- fix: align hoverEvaluation config suggestion with actual default
- fix: remove query strings from sourcemapped URLs (#1225)
- fix: prefer to parse source map directly before failling back to path mapping (vscode#148864)
- fix: only enter debug mode on f11 when debug view is visible (vscode#141157)
- fix: data URI sourcemaps not loading
- fix: debug not working on Node 12 or lower
- feat: apply pathMapping when loading sourcemaps (#1240)
- feat: apply pathMapping when loading sourcemaps (#1242)
- fix: sourcemap renames replacing in invalid contexts (#1201)
- feat: adopt
CompletionItem.detail
(vscode#145645) - feat: support for debugging webviews in UWPs (#1209)
- fix: accessor properties not being writable (vscode#146001)
- fix: completions sometimes throwing issue on accessor (#1218)
- feat: add heap profiler
- fix: properly support DAP
valueFormat
(#1188) - fix: don't use
pwa-
prefixed launch types in snippets (#1138) - fix: readonly attribute not being applied to getter values (vscode#143790)
- fix: cwd being lost causing resolution errors in auto attach (#1212)
- fix: avoid nesting
localRoot
's in programmatic starts (#1140) - fix: icon in "stop profiling" button not spinning (vscode#136742)
- refactor: simplify and improve browser connection in WSL and remotes
- feat: adopt
isTransient
to avoid persisting debug terminal (#1196) - feat: adopt new presentationHint.lazy for getters (#1211)
- fix: don't use
pwa-
prefixed launch types in snippets (#1138) - fix: logpoints causing pauses if console.log returns truthy (#1191)
- fix: handle query string and path fragments in
file
s within the launch config (vscode#142199) - fix: do not narrow outFiles within the workspace folder automatically (vscode#142641)
- fix: improve formatting of errors in output (vscode#122870)
- fix: improve labels in Excluded Caller view (vscode#141669)
- refactor: remove usage of
Debugger.callFrame.url
(#1136) - refactor: clean debt around output, fix previews not updating on memory changes
- fix: blazor attachment not working (#1190)
- fix: excluded callers not working consistently
- fix: excluded callers not updating during same session
- fix: capitalization of label in exclude callers (vscode#141454)
- fix: respect bytesOffset/byteLength when reading/writing memory (vscode#141449)
- feat: support debugging Edge on Linux (vscode#138495)
- feat: support readMemory/writeMemory requests (#1167)
- feat: copy binary types better (#1168)
- feat: add excluded callers (vscode#127775)
- fix: use default NVM directory if NVM_DIR is not set (vscode#133521)
- fix: lines offset when debugging web worker extensions (vscode#136242)
- fix: "copy as expression" and "add to watch" for private fields (vscode#135944)
- fix:
autoAttachChildProcesses
in extension host sometimes not working (#1134) - fix: improve sourcemap resolution when code is outside of the workspaceFolder (vscode#139086)
- fix: automatically try 127.0.0.1 if requests to localhost fail (vscode#140536)
- fix: make node process regex more permissive (vscode#137084)
- fix: breakpoints in paths with URI component entities not binding (#1174)
- feat: allow multiline values in envFiles (#1116)
- feat: rewrite old
.scripts
command to new diagnostic tool - feat: sort non-enumerable properties to match Chrome devtools (vscode#73061)
- fix: update path handling when debugging vscode webviews (vscode#133867)
- fix: allow webpacked path with special characters to map (#1080)
- fix: provide explicit warning if cwd is invalid (vscode#133310)
- fix: don't change url when restarting the debug session (#1103)
- fix: breakpoint diagnostic tool not working
- fix: use proper default resolution for sourceMapPathOverrides for node-terminal (vscode#114076)
- fix: private class fields not working in repl (#1113)
- chore: update docstring on
debugWebviews
(#1127)
- fix: sourcemap locations not resolving on remotes (vscode#131729)
- fix: remove redundant
__proto__
prop on recent V8 versions (vscode#130365) - fix: debug ports being auto forwarded after detach (#1092)
- fix: don't incorrectly scope sourcemap resolution to node_modules (#1100)
- fix: sourcemaps not working in preloads in older Electron versions (#1099)
- fix: duplicate entries in launch.json creator (vscode#132932)
- feat: add node_internals to skipFiles by default (#1091)
- feat: allow using a .ps1 script as a runtimeExectuable (#1093)
- feat: avoid attaching to scripts in .rc files (vscode#127717)
- fix: fall back to any installed browser version if stable is not available (vscode#129013)
- fix: workspaceFolder error in workspace launch configs (vscode#128922)
- fix: console logs being slow when run without debugging (#1068)
- fix: not pausing on unhandled promise rejections (vscode#130265)
- feat: support setExpression for updating WATCH view variables (#1075)
- feat: integrate skipFiles with smartStepping to step through blackbox failures (#1085)
- fix: extension host not always being torn down when stopping debugging (vscode#126911)
- fix: args list not updating when session is restarted (vscode#128058)
- chore: take ownership of the default launch types (#1065)
- fix: apply electron updates for debugging vscode webviews (vscode#128637)
- feat: support $returnValue in conditional breakpoints (vscode#129328)
- fix: pausing on first line of worker_thread when created with empty env (vscode#125451)
- fix: exclude electron from chrome attach reload (#1058)
- fix: retry websocket connections instead of waiting for timeout
- chore: adopt new terminal icon
- fix: breakpoints not being set when debugging file uris (#1035)
- feat: allow disabling sourcemap renames (#1033)
- fix: show welcome view for all common languages (#1039)
- fix: apply skipFile exception checking for promise rejections
- feat: reload page on attached restart (#1004)
- feat: allow taking heap snapshots with profiler (#1031)
- fix: default F5 not working on files outside workspace (vscode#125796)
- fix: debugging with no launch config fails when tsc task detection is disabled (vscode#69572)
- fix: race causing lost sessions when attaching to many concurrent processes in the debug terminal (vscode#124060)
- fix: pathMapping not working if url in browser launch is undefined (#1003)
- fix: error when trying to set a breakpoint in index.html (#1028)
- fix: only request source content for sourcemaps with renames (#1033)
- chore: update terminal profile contributions (vscode#120369)
- feat: support renamed sourcemap identifiers (vscode#12066)
- feat: support DAP
hitBreakpointIds
(#994) - feat: add Edge inspector integration
- feat: allow limited adjustment of launch config options during restart (vscode#118196)
- fix: make sure servers are listening before returning
- fix: don't send infinite telemetry requests for React Native (#981)
- fix: skipFiles working inconsistently in
attach
mode (vscode#118282) - fix: contribute js-debug to html (vscode#123106)
- chore: log errors activating auto attach
- fix: intermittent debug failures with browsers, especially Electron (vscode#123420))
- fix: add additional languages for browser debugging (vscode#123484)
- fix: worker processes breaking sessions when attaching multiple times (vscode#124045)
- fix: wrong name of autogenerated edge debug config
- fix: add warning for outdated or buggy Node.js versions (#1017)
- refactor: include a mandatory path in the CDP proxy (#987)
- chore: adopt new terminal profile contribution point (vscode#120369)
- fix: string previews not working in RN Windows
- feat: show private properties in the inspector (#892)
- fix: sources not working in RN Windows (vscode#121136)
- fix: improve suggest tool behavior (#970)
- fix: re-apply breakpoints if pages crash
- feat: 'intelligently' suggest using diagnostic tool for breakpoint issues (vscode#57590)
- feat: add cdp sharing for extensions to interact with debugging, see docs (#892)
- fix: runtimeVersion overwriting default PATH (vscode#120140)
- fix: skipFiles not skipping ranges in sourcemapped scripts (vscode#118282)
- chore: update wording on debug terminal label to match new profiles
- fix: 'node version is outdated' incorrectly showing with auto attach (#957)
- fix: programs not terminating in 'run without debugging' with break on exception (vscode#119340)
- fix: browser debugging when using a WSL remote (vscode#120227)
- fix: sessions hanging if exception is thrown immediately before or during shutdown
- fix: track DAP servers in ports manager as well (#942 comment)
- feat: implement 'start debugging and stop on entry' command/keybinding (vscode#49855)
- feat: improve handling of symbolic links (#776)
- feat: add forwarded port attributes (#942)
- fix: pretty print not working when evaling sources (#929)
- fix: browser debugging in remote not working on some Linux systems (#908)
- fix: edge not launching if VS Code is run in admin mode on windows (vscode#117005)
- fix: exception breakpoint toggle getting stuck (919)
- fix: spooky race that could incorrectly break when entering hot-transpiled code
- fix: worker_thread debugging node working on Node >14.5.0 (933)
- fix: auto attach failing when entering node repl
- fix: auto attach only to workspace scripts by default (#856)
- fix: do not show restart frame action on async stacktraces (vscode#116345)
- fix: do not attach to node-gyp fixing install failures (vscode#117312)
- fix: sessions being mixed up or not initializing when attaching concurrently (vscode#115996)
- fix: wrong command used in create debug terminal command
- fix: allow copying values from watch expressions (vscode#115049)
- fix: reuse debug terminals when running npm scripts, when possible
- refactor: move script lens functionality into built-in npm extension
- feat: allow debugging node worker_threads
- feat: allow pausing on conditional exceptions (vscode#104453)
- feat: make the line on log messages take into account skipFiles (#882)
- feat: allow specifying request options used to request sourcemaps and content (#904)
- fix: persist state in the diagnostic tool (#879)
- fix: allow outdated node dialog to be bypassed (vscode#111642)
- fix: syntax errors in chrome not showing locations (#867)
- fix: handle certain types of webpack source maps in attachments (#854)
- fix: attachment issue on Node 15 (#895)
- fix: default node cwd to the localRoot if set (#894)
- fix: fix: better handle html served as index and without extensions (#883, #884)
- docs: remove preview terminology from js-debug (#894)
- fix: debugger statements being missed if directly stepped on the first executable line of a new script early in execution
- fix: source map warning on node 15 (#903)
- fix: issue preventing breakpoint predictor from running in ext host (vscode#112052)
- fix: processes not being killed on posix (#864)
- feat: allow debugging node internals (#823)
- feat: show diagnostic tool in a webview and integrate with vscode theme (vscode#109526, vscode#109529, vscode#109531)
- feat: allow specifying defaults runtimeExecutables (#836)
- feat: support vscode webview resource uri sourcemaps (#820)
- feat: allow configuring the debugger killBehavior (#630)
- fix: support chrome dev and beta builds (ref)
- fix: race causing potentially corrupted log files (#825)
- fix: extension host debugging pausing in internals (vscode#105047)
- fix: make urls ending in
/*
also match the base path (#834) - fix: ignore hash portion of url when determining matches (#840)
- fix: automatically add a * suffix to sourceMapPathOverrides that lack one (#841)
- fix: don't show
Debug: Open Link
command in web where it doesn't work - fix: handle exceptions thrown dealing with sourcemaps in prediction (#845)
- fix: don't show quick pick when there is only a single npm script (#851)
- fix: don't narrow outfiles on any remoteRoot (#854)
- fix: more thoroughly clean VS Code-specific environment variables from launch (#64897, #38428)
- fix: node internals not skipping on Node 15 (#862)
- fix: don't scan outfiles when sourceMaps is false (#866)
- fix: skipfiles not working for paths in dotfiles/folders (vscode#111301)
- feat: add a diagnostic tool under the
Create Diagnostic Information
command (#260) - feat: add an advanced
perScriptSourcemaps
option, when loading individual unbundled scripts - feat: suffix rather than prefix setter/getters (vscode#108036)
- fix: include the response body in sourcemap http error info
- fix: extensions being able to activate before the debugger attaches (vscode#108141)
- fix: debugger failing to connect on Node 14 on Windows 7 (#791)
- fix: inherit the system's NODE_OPTIONS if set (#790)
- fix: use
*
as a urlFilter by default only for launching (not attaching) (ref) - fix: exclude
nvm
-installed binaries from auto attach (#794) - fix: smart auto attaching briefly debugging a process when using
code
from the CLI (#783) - fix: realtime performance not being shown when a webworker is selected (ref)
- fix: breakpoints sometimes not being rebound after navigating away from and back to a page (#807)
- fix: breakpoints not being bound correctly on Blazor apps (#796)
- fix: remote source maps don't resolve correctly with an absolute sourceroot shorter than the local path (vscode#108418)
- fix: terminal links not setting the first workspace folder (#701)
- fix: send ctrl+c to kill nodemon running in debug terminal (vscode#108289)
- fix: increase auto attach timeout (#806)
- fix: stepping into function on the first line of a file with a breakpoint (vscode#107859)
- fix: webpage opening twice when using
serverReadyAction
withconsole: integratedTerminal
(#814) - refactor: improve performance when loading very many sourcemaps for pages that don't need authentication
- refactor: remove runtime dependency on TypeScript (vscode#107680)
Start of changelog records