Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ This changelog records changes to stable releases since 1.50.2. "TBA" changes he

Nothing, yet

## 1.140 (September 2026)

- feat: add `debug.javascript.resolveDebugEntrypoint` to opt out of compiled entrypoint resolution ([#2349](https://github.com/microsoft/vscode-js-debug/pull/2349))
- fix: restore standalone debugger bundle builds after adding entrypoint resolution configuration ([#2369](https://github.com/microsoft/vscode-js-debug/pull/2369))
- fix: support Unicode identifiers in completions ([#2393](https://github.com/microsoft/vscode-js-debug/pull/2393))
- fix: avoid template local clashes for primitive completions ([#2411](https://github.com/microsoft/vscode-js-debug/pull/2411))
- fix: honor explicit pause requests while smart stepping ([#2413](https://github.com/microsoft/vscode-js-debug/pull/2413))
- fix: restore debugger attach retries on Node 24.20 ([#2417](https://github.com/microsoft/vscode-js-debug/pull/2417))

## 1.117 (April 2026)

- feat: add debug configuration provider for integrated browser ([#2347](https://github.com/microsoft/vscode-js-debug/pull/2347))
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "js-debug",
"displayName": "JavaScript Debugger",
"version": "1.117.0",
"version": "1.140.0",
"publisher": "ms-vscode",
"author": {
"name": "Microsoft Corporation"
Expand Down
63 changes: 34 additions & 29 deletions src/test/completion/completion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,10 @@ describe('completion', () => {
]);
});


itIntegrates('completes primitive when name clashes with template locals (#2399)', async ({ r }) => {
const p = await r.launch(`
itIntegrates(
'completes primitive when name clashes with template locals (#2399)',
async ({ r }) => {
const p = await r.launch(`
<script>
function foo() {
const n = 1;
Expand All @@ -324,35 +325,39 @@ describe('completion', () => {
</script>
`);

const untilStopped = p.dap.once('stopped');
p.load();
const untilStopped = p.dap.once('stopped');
p.load();

const frame = (
await p.dap.stackTrace({
threadId: (await untilStopped).threadId!,
})
).stackFrames[0];
const frame = (
await p.dap.stackTrace({
threadId: (await untilStopped).threadId!,
})
).stackFrames[0];

const forN = await p.dap.completions({
text: 'n.',
column: 3,
frameId: frame.id,
});
expect(forN.targets.some(t => t.label === 'toFixed')).to.equal(
true,
`expected number completions for n., got ${JSON.stringify(forN.targets.slice(0, 5))}`,
);
const forN = await p.dap.completions({
text: 'n.',
column: 3,
frameId: frame.id,
});
expect(forN.targets.some(t => t.label === 'toFixed')).to.equal(
true,
`expected number completions for n., got ${JSON.stringify(forN.targets.slice(0, 5))}`,
);

const forTarget = await p.dap.completions({
text: 'target.',
column: 8,
frameId: frame.id,
});
expect(forTarget.targets.some(t => t.label === 'toLowerCase' || t.label === 'length')).to.equal(
true,
`expected string completions for target., got ${JSON.stringify(forTarget.targets.slice(0, 5))}`,
);
});
const forTarget = await p.dap.completions({
text: 'target.',
column: 8,
frameId: frame.id,
});
expect(forTarget.targets.some(t => t.label === 'toLowerCase' || t.label === 'length')).to
.equal(
true,
`expected string completions for target., got ${
JSON.stringify(forTarget.targets.slice(0, 5))
}`,
);
},
);

itIntegrates('$returnValue', async ({ r }) => {
const getFrameId = async () =>
Expand Down
Loading