From f455080da4b134de07cb23131eaefaaf02b7a8ec Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Wed, 12 Apr 2017 10:26:28 -0700 Subject: [PATCH] 3.0.0 --- CHANGELOG.md | 6 ++++++ package.json | 4 ++-- src/chromeDebug.ts | 2 +- test/int/testSetup.ts | 5 ++++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b7271e7..6f8dfbe1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.0.0 +* Enable userDataDir by default - [#210](https://github.com/microsoft/vscode-chrome-debug/issues/210) +* Keep Chrome open when launching chrome devtools (now also on Windows) - [#116](https://github.com/microsoft/vscode-chrome-debug/issues/116) +* 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) +* Show empty property names as "" - [Microsoft/vscode#24143](https://github.com/Microsoft/vscode/issues/24143) + ## 2.7.3 * 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) * Fix sourcemapping issue when throwing non-Error diff --git a/package.json b/package.json index f4decdbc..ca5bb3b4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "debugger-for-chrome", "displayName": "Debugger for Chrome", - "version": "2.7.3", + "version": "3.0.0", "icon": "images/icon.png", "description": "Debug your JavaScript code in the Chrome browser, or any other target that supports the Chrome Debugger protocol.", "author": { @@ -21,7 +21,7 @@ ], "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { - "vscode-chrome-debug-core": "3.14.14", + "vscode-chrome-debug-core": "3.14.17", "vscode-debugadapter": "1.18.0-pre.5" }, "devDependencies": { diff --git a/src/chromeDebug.ts b/src/chromeDebug.ts index 2a7fd9eb..1971d049 100644 --- a/src/chromeDebug.ts +++ b/src/chromeDebug.ts @@ -15,7 +15,7 @@ declare let VERSION: string; let versionWithDefault = typeof VERSION === 'undefined' ? 'unspecified' : VERSION; // Not built with webpack for tests // non-.txt file types can't be uploaded to github -// also note that __dirname here is ...out/ +// also note that __dirname here is out/ const logFilePath = path.resolve(__dirname, '../vscode-chrome-debug.txt'); // Start a ChromeDebugSession configured to only match 'page' targets, which are Chrome tabs. diff --git a/test/int/testSetup.ts b/test/int/testSetup.ts index 72709ec9..9c5ba5d7 100644 --- a/test/int/testSetup.ts +++ b/test/int/testSetup.ts @@ -15,7 +15,10 @@ const DEBUG_ADAPTER = './out/src/chromeDebug.js'; function patchLaunchArgs(launchArgs: any): void { launchArgs.trace = 'verbose'; - const tmpDir = tmp.dirSync({ prefix: 'chrome-' }); + launchArgs.disableNetworkCache = true; + + // Start with a clean userDataDir for each test run + const tmpDir = tmp.dirSync({ prefix: 'chrome2-' }); launchArgs.userDataDir = tmpDir.name; }