From 018d1954d24ad34e93f859122885ced4cb5de7f6 Mon Sep 17 00:00:00 2001 From: roblou Date: Mon, 2 Jan 2017 11:17:06 -0800 Subject: [PATCH] 2.4.2 --- CHANGELOG.md | 5 +++++ package.json | 4 ++-- src/chromeDebugAdapter.ts | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cf48206..006c061a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.4.2 +* Enable `sourceMaps` by default. You no longer need to set `"sourceMaps": true` in your launch config, but can set it to false to disable loading sourcemaps - [#134](https://github.com/Microsoft/vscode-chrome-debug-core/issues/134) +* Fix boolean properties showing as strings - [#312](https://github.com/Microsoft/vscode-chrome-debug/issues/312) +* Fix unhandled exceptions not being logged to the console - [#130](https://github.com/Microsoft/vscode-chrome-debug-core/issues/130) + ## 2.4.1 * Fix hover not working when using sourcemaps, and scripts are not on disk - [#309](https://github.com/Microsoft/vscode-chrome-debug/issues/309) diff --git a/package.json b/package.json index 0d129773..7e275c0c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "debugger-for-chrome", "displayName": "Debugger for Chrome", - "version": "2.4.1", + "version": "2.4.2", "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.8.2", + "vscode-chrome-debug-core": "3.8.3", "vscode-debugadapter": "^1.15.0", "vscode-debugprotocol": "^1.15.0" }, diff --git a/src/chromeDebugAdapter.ts b/src/chromeDebugAdapter.ts index 14aabd41..51248bf9 100644 --- a/src/chromeDebugAdapter.ts +++ b/src/chromeDebugAdapter.ts @@ -83,7 +83,7 @@ export class ChromeDebugAdapter extends CoreDebugAdapter { return super.attach(args); } - protected commonArgs(args: ICommonRequestArgs): void { + public commonArgs(args: ICommonRequestArgs): void { args.sourceMaps = typeof args.sourceMaps === 'undefined' || args.sourceMaps; args.sourceMapPathOverrides = getSourceMapPathOverrides(args.webRoot, args.sourceMapPathOverrides); args.skipFileRegExps = ['^chrome-extension:.*'];