Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit f455080

Browse files
committed
3.0.0
1 parent 3390292 commit f455080

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 3.0.0
2+
* Enable userDataDir by default - [#210](https://github.com/microsoft/vscode-chrome-debug/issues/210)
3+
* Keep Chrome open when launching chrome devtools (now also on Windows) - [#116](https://github.com/microsoft/vscode-chrome-debug/issues/116)
4+
* Error while debugging: Unable to open 'undefined': File not found (/undefined) - [Microsoft/vscode-chrome-debug-core#189](https://github.com/Microsoft/vscode-chrome-debug-core/issues/189)
5+
* Show empty property names as "" - [Microsoft/vscode#24143](https://github.com/Microsoft/vscode/issues/24143)
6+
17
## 2.7.3
28
* Fix missing variables and error "Cannot read property 'length' of undefined" - [Microsoft/vscode-chrome-debug-core#195](https://github.com/Microsoft/vscode-chrome-debug-core/issues/195)
39
* Fix sourcemapping issue when throwing non-Error

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "debugger-for-chrome",
33
"displayName": "Debugger for Chrome",
4-
"version": "2.7.3",
4+
"version": "3.0.0",
55
"icon": "images/icon.png",
66
"description": "Debug your JavaScript code in the Chrome browser, or any other target that supports the Chrome Debugger protocol.",
77
"author": {
@@ -21,7 +21,7 @@
2121
],
2222
"license": "SEE LICENSE IN LICENSE.txt",
2323
"dependencies": {
24-
"vscode-chrome-debug-core": "3.14.14",
24+
"vscode-chrome-debug-core": "3.14.17",
2525
"vscode-debugadapter": "1.18.0-pre.5"
2626
},
2727
"devDependencies": {

src/chromeDebug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ declare let VERSION: string;
1515
let versionWithDefault = typeof VERSION === 'undefined' ? 'unspecified' : VERSION; // Not built with webpack for tests
1616

1717
// non-.txt file types can't be uploaded to github
18-
// also note that __dirname here is ...out/
18+
// also note that __dirname here is out/
1919
const logFilePath = path.resolve(__dirname, '../vscode-chrome-debug.txt');
2020

2121
// Start a ChromeDebugSession configured to only match 'page' targets, which are Chrome tabs.

test/int/testSetup.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ const DEBUG_ADAPTER = './out/src/chromeDebug.js';
1515

1616
function patchLaunchArgs(launchArgs: any): void {
1717
launchArgs.trace = 'verbose';
18-
const tmpDir = tmp.dirSync({ prefix: 'chrome-' });
18+
launchArgs.disableNetworkCache = true;
19+
20+
// Start with a clean userDataDir for each test run
21+
const tmpDir = tmp.dirSync({ prefix: 'chrome2-' });
1922
launchArgs.userDataDir = tmpDir.name;
2023
}
2124

0 commit comments

Comments
 (0)