This commit is contained in:
Rob Lourens 2017-04-12 10:26:28 -07:00
Родитель 3390292e26
Коммит f455080da4
4 изменённых файлов: 13 добавлений и 4 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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": {

Просмотреть файл

@ -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.

Просмотреть файл

@ -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;
}