Connor Peet
889c62da06
Merge pull request #2126 from microsoft/connor4312/1987940-patch
...
1.95.3
2024-11-08 10:45:55 -08:00
Connor Peet
8c90a8de0c
1.95.3
2024-11-08 08:50:56 -08:00
Connor Peet
338be640cd
fix: add a short race timeout for wasm pause handlers ( #2124 )
...
Seems like evaluation can sometimes be delayed for a while depending on the target state.
2024-11-08 08:50:47 -08:00
Connor Peet
a5977a0a9f
1.95.2
2024-10-31 10:00:06 -07:00
Connor Peet
b1e599a79c
fix: use macrotask state boundary in thread statequeue ( #2116 )
...
I initially thought a microtask boundary was sufficient, but with wasm
breakpoints with no symbols (where we resume synchronously) I observed
that sometimes the queued `resume` would not be dequeued before the
next paused event was handled. So this moves it to a full macrotask.
2024-10-31 09:59:56 -07:00
Connor Peet
ce5dfbbc62
1.95.1
2024-10-25 11:05:18 -07:00
Connor Peet
3aca1caade
fix: wasm breakpoint pausing not working on first run w/ predictor
...
Closes https://github.com/microsoft/vscode/issues/230875
2024-10-25 11:05:01 -07:00
Connor Peet
fea4d207ba
Merge pull request #2112 from microsoft/connor4312/1.95
...
1.95.0
2024-10-23 08:37:49 -07:00
Connor Peet
916197a6e9
1.95.0
2024-10-23 08:31:55 -07:00
Connor Peet
d9578fd7ba
docs: prep for 1.95
2024-10-23 08:31:44 -07:00
Marcus Ball
5d276a3cd2
feat: use `remoteHostHeader` when retrieving websocket url from node debugger ( #2111 )
2024-10-23 03:39:03 +00:00
Connor Peet
780ac691ab
fix: ensure default sm resolution paths are kept for transpiled extensions ( #2110 )
...
Fixes #2101
2024-10-21 14:45:19 -07:00
Connor Peet
27839c9104
fix: apply sourceMapPathOverrides to file URIs ( #2109 )
...
Closes https://github.com/microsoft/vscode-dwarf-debugging-ext/issues/7
2024-10-21 21:55:16 +02:00
Connor Peet
75f6a528c5
Merge pull request #2106 from microsoft/connor4312/fix-bad-wasm-breaks
...
fix: ignore extra pauses during wasm compilation
2024-10-15 09:43:54 -07:00
Connor Peet
0bea1346d4
fix: ignore extra pauses during wasm compilation
...
Also only set the WASM breakpoint as-needed when breakpoints exist.
2024-10-15 09:36:37 -07:00
Connor Peet
f2882f233e
fix: sticking on certain webassembly breakpoints ( #2103 )
2024-10-10 21:27:10 -07:00
Connor Peet
8b0bffc47d
fix: allow hitting breakpoints early in webassembly ( #2102 )
...
V8 doesn't give us instrumentation breakpoints for WASM, so take a
primitive approach of overwriting WebAssembly compile/instantiate
methods with one that includes a `debugger;` statement after they're
done, and handle those as instrumentation.
Closes https://github.com/microsoft/vscode/issues/230875
2024-10-10 14:49:49 -07:00
Connor Peet
e620efe184
fix: only autofill "debug link" input if the hostname resolves ( #2096 )
...
Fixes https://github.com/microsoft/vscode/issues/228950
2024-10-04 16:37:44 -07:00
Connor Peet
a7113858df
fix: test assertions ( #2098 )
2024-10-04 16:05:24 -07:00
Connor Peet
25562e9460
fix: show the subsession name before the root prefix ( #2097 )
...
Fixes https://github.com/microsoft/vscode/issues/229100
2024-10-04 16:05:00 -07:00
Connor Peet
fa2b0b7760
fix: support ANSI colorization in logged strings ( #2095 )
...
Fixes https://github.com/microsoft/vscode/issues/230441
2024-10-04 09:12:21 -07:00
Connor Peet
fc778e62a1
fix: disable entrypoint breakpoint at first pause in script ( #2094 )
...
Fixes https://github.com/microsoft/vscode/issues/230201
2024-10-03 16:40:40 -07:00
Connor Peet
868c088e06
Merge pull request #2093 from microsoft/connor4312/issue2091
...
fix: avoid generating extra rebased paths in relative `rebaseLocalToRemote`
2024-10-03 15:29:06 -07:00
Connor Peet
d398452e90
fix: avoid generating extra rebased paths in relative `rebaseLocalToRemote`
...
Refs #2091
2024-10-03 15:24:51 -07:00
dependabot[bot]
0000bd9ee2
chore(deps): bump body-parser and express ( #2085 )
...
Bumps [body-parser](https://github.com/expressjs/body-parser ) to 1.20.3 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases )
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md )
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3 )
Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0 )
---
updated-dependencies:
- dependency-name: body-parser
dependency-type: indirect
- dependency-name: express
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-27 16:20:33 -07:00
Connor Peet
2249345ba4
Merge pull request #2090 from microsoft/connor4312/1.94
...
1.94.0
2024-09-25 11:56:32 -07:00
Connor Peet
02d87a6eb8
1.94.0
2024-09-25 11:53:01 -07:00
Connor Peet
5eceb37b08
docs: for 1.94
2024-09-25 11:52:30 -07:00
Connor Peet
caaec517b8
fix: running new npm scripts in internal terminal ( #2082 )
...
Fixes https://github.com/microsoft/vscode/issues/227285
2024-09-18 15:45:53 -07:00
Luca Casonato
7dbdd018d8
fix: don't inject NODE_OPTIONS in Deno ( #2080 )
...
* fix: don't inject NODE_OPTIONS in Deno
In Deno 2, Deno has a `process` global. However when running Deno without I/O permissions (the default), accessing process.env.* will show a permission prompt. This is confusing for users, as their code did not trigger this prompt, but VS Code did.
Because this code doesn't do anything in Deno anyway (because we do not respect `NODE_OPTIONS`), there is no point in running it in Deno at all. I disable the code path in Deno through environment detection now.
* review comment
2024-09-13 14:45:32 +00:00
Connor Peet
ad7e68cde6
feat: improve display of HTML in the debugger ( #2077 )
...
* feat: improve display of HTML in the debugger
Advertises ANSI styles as proposed in https://github.com/microsoft/debug-adapter-protocol/issues/500 ,
though it works without them too, just without colors!
Previously the Nodes were displayed as naive objects, so we'd just
list their properties, which was quite useless when trying to get
a handle on the DOM. Now we display their children as the primary
element display, and have "Node Attributes" in a separate section.
![](https://memes.peet.io/img/24-09-9b2b35e1-3874-4e06-825a-5c84abeeb6e4.png )
Refs https://github.com/microsoft/vscode/pull/227729
* fix comment display
2024-09-10 11:33:19 -07:00
Connor Peet
9419f572e7
feat: add getPreferredUILocation request for other tooling ( #2075 )
2024-09-05 18:13:30 +02:00
Raymond Zhao
f7a1450dc7
chore: fix SBOM generation ( #2074 )
...
* chore: create SBOM drop path
* Test SBOM generation fix
* Test again
* Re-enable conditions
* Fix line endings
2024-09-04 18:58:57 -07:00
Connor Peet
b64507e56d
fix: group node internals and WASM to clean up loaded sources view ( #2073 )
...
![](https://memes.peet.io/img/24-09-3dcf61d0-09e8-46e9-9ea7-d42b6b72396b.png )
2024-09-04 14:29:21 -07:00
Raymond Zhao
714bff34cf
chore: npm audit fix ( #2070 )
2024-09-04 01:36:37 +02:00
Connor Peet
4b4cd50ead
feat: update snippets for config resolution, add tool completion ( #2067 )
...
Fixes #1997
Also borrows some logic from Python to add a completion item to let
users pick a Node.js tool that they can run, from their
node_modules/.bin folder
![](https://memes.peet.io/img/24-08-8b1001ca-93a8-4ec3-be17-f8641eea61b7.png )
2024-08-31 07:32:19 +02:00
Connor Peet
cc722b5884
docs: update readme, make logo dark-background-safe ( #2066 )
...
Fixes #2065
2024-08-30 11:43:09 -07:00
Connor Peet
9084de6219
fix: process attachment with --inspect=:1234 style ( #2064 )
...
Fixes #2063
2024-08-30 10:32:15 -07:00
Connor Peet
105ccb4361
Merge pull request #2062 from microsoft/connor4312/dprint
...
chore: move prettier->dprint
2024-08-30 10:18:05 -07:00
Connor Peet
9374f0f8aa
format after merge
2024-08-30 10:05:54 -07:00
Connor Peet
9b6ca4e437
Merge remote-tracking branch 'origin/main' into connor4312/dprint
2024-08-30 10:05:31 -07:00
Connor Peet
3be255753c
chore: move prettier->dprint
...
Commit is mostly formatting changes. dprint is ~20x faster, so I want to give it a shot!
2024-08-30 10:01:21 -07:00
Connor Peet
ab03c68901
chore: move network view behind a setting ( #2059 )
...
We don't want it to appear for everyone quite yet: move it behind an
experimental setting.
Swaps the controls around from the session enabling networking eagerly
to being a call from the extension side to do so.
2024-08-27 17:11:00 -07:00
Connor Peet
34348f2b7f
Merge pull request #2060 from microsoft/connor4312/v1.93
...
1.93.0
2024-08-27 15:55:10 -07:00
Connor Peet
ef7144c48e
1.93.0
2024-08-27 15:48:48 -07:00
Connor Peet
a2f92c5354
docs: for 1.93
2024-08-27 15:48:16 -07:00
Connor Peet
b981789eb7
chore: add 'tag: [setup]' for common setup-related configs ( #2058 )
2024-08-21 14:46:24 -07:00
Connor Peet
3a658bfb5a
feat: adopt location references to link function locations ( #2056 )
...
Refs https://github.com/microsoft/debug-adapter-protocol/issues/343
2024-08-13 15:36:45 -07:00
Connor Peet
6e8a828147
feat: add basic network view, support experimental networking for node ( #2053 )
...
This adds a basic network tree view that shows requests and responses
in the debugee. It has a default "go to" action which opens a cURL
representation of the request, and context menu actions to open the
response body either in a text editor or the hex editor. It also has
actions to copy the URL and replay the request.
![](https://memes.peet.io/img/24-08-aa5f7f35-332f-4a60-9fbb-32ac79018b60.png )
I initially was hoping to turn this on by default for Node.js since
their networking support in 22.6.0 inspired this change, but their
functionality right now is very limited (we basically get the URL and
nothing else.) Therefore I added an option to turn it on, but it's not
on by default there.
I think I might end up toggling this off for the next stable release
for now until we can polish it some more, but it's ship it in nightly
to get some feedback!
2024-08-08 11:45:15 -07:00
Connor Peet
ca1c645049
feat: support "debug url" in terminals created through the `node-terminal` launch type ( #2050 )
...
Fixes #2049
2024-08-02 12:36:11 -07:00