Skip to content

Commit

Permalink
Merge pull request #1998 from microsoft/connor4312/pick-1996
Browse files Browse the repository at this point in the history
Pick PR #1996
  • Loading branch information
connor4312 authored Apr 24, 2024
2 parents 2152210 + f5315ed commit 0782e4c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This changelog records changes to stable releases since 1.50.2. "TBA" changes he
## Nightly (only)

- feat: resolve executables from `node_modules/.bin` automatically ([#1984](https://github.com/microsoft/vscode-js-debug/issues/1984))
- fix: add new source map path patterns for turbopack ([#1996](https://github.com/microsoft/vscode-js-debug/issues/1996))
- fix: avoid forcing attach PID into debug mode with default args ([vscode#206683](https://github.com/microsoft/vscode/issues/206683))

## v1.88 (March 2024)
Expand Down
24 changes: 16 additions & 8 deletions OPTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"webpack://@?:*/?:*/*": "${workspaceFolder}/*",
"webpack://?:*/*": "${workspaceFolder}/*",
"webpack:///([a-z]):/(.+)": "$1:/$2",
"meteor://💻app/*": "${workspaceFolder}/*"
"meteor://💻app/*": "${workspaceFolder}/*",
"turbopack://[project]/*": "${workspaceFolder}/*"
}</pre></code><h4>sourceMapRenames</h4><p>Whether to use the &quot;names&quot; mapping in sourcemaps. This requires requesting source content, which can be slow with certain debuggers.</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>sourceMaps</h4><p>Use JavaScript source maps (if they exist).</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>timeout</h4><p>Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.</p>
Expand Down Expand Up @@ -100,7 +101,8 @@
"webpack://@?:*/?:*/*": "${workspaceFolder}/*",
"webpack://?:*/*": "${workspaceFolder}/*",
"webpack:///([a-z]):/(.+)": "$1:/$2",
"meteor://💻app/*": "${workspaceFolder}/*"
"meteor://💻app/*": "${workspaceFolder}/*",
"turbopack://[project]/*": "${workspaceFolder}/*"
}</pre></code><h4>sourceMapRenames</h4><p>Whether to use the &quot;names&quot; mapping in sourcemaps. This requires requesting source content, which can be slow with certain debuggers.</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>sourceMaps</h4><p>Use JavaScript source maps (if they exist).</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>stopOnEntry</h4><p>Automatically stop program after launch.</p>
Expand Down Expand Up @@ -149,7 +151,8 @@
"webpack://@?:*/?:*/*": "${workspaceFolder}/*",
"webpack://?:*/*": "${workspaceFolder}/*",
"webpack:///([a-z]):/(.+)": "$1:/$2",
"meteor://💻app/*": "${workspaceFolder}/*"
"meteor://💻app/*": "${workspaceFolder}/*",
"turbopack://[project]/*": "${workspaceFolder}/*"
}</pre></code><h4>sourceMapRenames</h4><p>Whether to use the &quot;names&quot; mapping in sourcemaps. This requires requesting source content, which can be slow with certain debuggers.</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>sourceMaps</h4><p>Use JavaScript source maps (if they exist).</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>timeout</h4><p>Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.</p>
Expand Down Expand Up @@ -200,7 +203,8 @@
"webpack://@?:*/?:*/*": "${workspaceFolder}/*",
"webpack://?:*/*": "${workspaceFolder}/*",
"webpack:///([a-z]):/(.+)": "$1:/$2",
"meteor://💻app/*": "${workspaceFolder}/*"
"meteor://💻app/*": "${workspaceFolder}/*",
"turbopack://[project]/*": "${workspaceFolder}/*"
}</pre></code><h4>sourceMapRenames</h4><p>Whether to use the &quot;names&quot; mapping in sourcemaps. This requires requesting source content, which can be slow with certain debuggers.</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>sourceMaps</h4><p>Use JavaScript source maps (if they exist).</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>testConfiguration</h4><p>Path to a test configuration file for the <a href="https://code.visualstudio.com/api/working-with-extensions/testing-extension#quick-setup-the-test-cli">test CLI</a>.</p>
Expand Down Expand Up @@ -249,7 +253,8 @@
"webpack://@?:*/?:*/*": "${webRoot}/*",
"webpack://?:*/*": "${webRoot}/*",
"webpack:///([a-z]):/(.+)": "$1:/$2",
"meteor://💻app/*": "${webRoot}/*"
"meteor://💻app/*": "${webRoot}/*",
"turbopack://[project]/*": "${workspaceFolder}/*"
}</pre></code><h4>sourceMapRenames</h4><p>Whether to use the &quot;names&quot; mapping in sourcemaps. This requires requesting source content, which can be slow with certain debuggers.</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>sourceMaps</h4><p>Use JavaScript source maps (if they exist).</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>timeout</h4><p>Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.</p>
Expand Down Expand Up @@ -297,7 +302,8 @@
"webpack://@?:*/?:*/*": "${webRoot}/*",
"webpack://?:*/*": "${webRoot}/*",
"webpack:///([a-z]):/(.+)": "$1:/$2",
"meteor://💻app/*": "${webRoot}/*"
"meteor://💻app/*": "${webRoot}/*",
"turbopack://[project]/*": "${workspaceFolder}/*"
}</pre></code><h4>sourceMapRenames</h4><p>Whether to use the &quot;names&quot; mapping in sourcemaps. This requires requesting source content, which can be slow with certain debuggers.</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>sourceMaps</h4><p>Use JavaScript source maps (if they exist).</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>targetSelection</h4><p>Whether to attach to all targets that match the URL filter (&quot;automatic&quot;) or ask to pick one (&quot;pick&quot;).</p>
Expand Down Expand Up @@ -353,7 +359,8 @@
"webpack://@?:*/?:*/*": "${webRoot}/*",
"webpack://?:*/*": "${webRoot}/*",
"webpack:///([a-z]):/(.+)": "$1:/$2",
"meteor://💻app/*": "${webRoot}/*"
"meteor://💻app/*": "${webRoot}/*",
"turbopack://[project]/*": "${workspaceFolder}/*"
}</pre></code><h4>sourceMapRenames</h4><p>Whether to use the &quot;names&quot; mapping in sourcemaps. This requires requesting source content, which can be slow with certain debuggers.</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>sourceMaps</h4><p>Use JavaScript source maps (if they exist).</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>timeout</h4><p>Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.</p>
Expand Down Expand Up @@ -402,7 +409,8 @@
"webpack://@?:*/?:*/*": "${webRoot}/*",
"webpack://?:*/*": "${webRoot}/*",
"webpack:///([a-z]):/(.+)": "$1:/$2",
"meteor://💻app/*": "${webRoot}/*"
"meteor://💻app/*": "${webRoot}/*",
"turbopack://[project]/*": "${workspaceFolder}/*"
}</pre></code><h4>sourceMapRenames</h4><p>Whether to use the &quot;names&quot; mapping in sourcemaps. This requires requesting source content, which can be slow with certain debuggers.</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>sourceMaps</h4><p>Use JavaScript source maps (if they exist).</p>
<h5>Default value:</h4><pre><code>true</pre></code><h4>targetSelection</h4><p>Whether to attach to all targets that match the URL filter (&quot;automatic&quot;) or ask to pick one (&quot;pick&quot;).</p>
Expand Down
1 change: 1 addition & 0 deletions src/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ export function defaultSourceMapPathOverrides(webRoot: string): { [key: string]:
'webpack://?:*/*': `${webRoot}/*`,
'webpack:///([a-z]):/(.+)': '$1:/$2',
'meteor://💻app/*': `${webRoot}/*`,
'turbopack://[project]/*': '${workspaceFolder}/*',
};
}

Expand Down

0 comments on commit 0782e4c

Please sign in to comment.