diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d52085c..9c5e2d8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 2.6.0 +* When opening Chrome Devtools, Chrome will no longer crash. The debugger will still detach (only one debugger can be attached at a time) but you should be able to switch back and forth. +* The timeout when launching or attaching to Chrome is now configurable. It's 10s by default. - [#346](https://github.com/Microsoft/vscode-chrome-debug/issues/346) +* Fix setting BPs in source that's inlined in a sourcemap - [Microsoft/vscode-chrome-debug-core#180](https://github.com/Microsoft/vscode-chrome-debug-core/issues/180) +* Fix breakpoints shifting in some situations where they shouldn't, when Chrome returns a BP location that can't be sourcemapped - [Microsoft-node-debug2#90](https://github.com/Microsoft/vscode-node-debug2/issues/90) +* Add a pause reason for promise rejection - [Microsoft-node-debug2#46](https://github.com/Microsoft/vscode-node-debug2/issues/46) +* Show exception text in the new exception widget in VS Code 1.10 - [Microsoft/vscode-chrome-debug-core#181](https://github.com/Microsoft/vscode-chrome-debug-core/issues/181) +* `diagnosticLogging` and `verboseDiagnosticLogging` are now deprecated in favor of the `trace` option. `"trace": true` will write all logs to a file, and write the path to the file in the debug console. `"trace": "verbose"` will write all logs to the debug console, and to the file. + ## 2.5.5 * Fix "Cannot find context with specified id" error spam - [#264](https://github.com/Microsoft/vscode-chrome-debug/issues/364) diff --git a/package.json b/package.json index d299715b..04e48973 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "debugger-for-chrome", "displayName": "Debugger for Chrome", - "version": "2.5.5", + "version": "2.6.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": { @@ -22,7 +22,7 @@ "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "vscode": "^1.0.3", - "vscode-chrome-debug-core": "3.12.10", + "vscode-chrome-debug-core": "3.13.1", "vscode-debugadapter": "^1.18.0-pre.0", "vscode-debugprotocol": "^1.17.0-pre.2" }, @@ -184,12 +184,26 @@ "diagnosticLogging": { "type": "boolean", "description": "When true, the adapter logs its own diagnostic info to the console in a human readable format", - "default": true + "default": true, + "deprecationMessage": "'diagnosticLogging' is deprecated. Use 'trace' instead." }, "verboseDiagnosticLogging": { "type": "boolean", "description": "When true, the adapter logs all traffic with the client and target (as well as the info logged by 'diagnosticLogging')", - "default": true + "default": true, + "deprecationMessage": "'verboseDiagnosticLogging' is deprecated. Use 'trace' instead." + }, + "trace": { + "type": [ + "boolean", + "string" + ], + "enum": [ + "verbose", + true + ], + "default": true, + "description": "When 'true', the debugger will log tracing info to a file. When 'verbose', it will also show logs in the console." }, "userDataDir": { "type": "string", @@ -241,12 +255,26 @@ "diagnosticLogging": { "type": "boolean", "description": "When true, the adapter logs its own diagnostic info to the console in a human readable format", - "default": true + "default": true, + "deprecationMessage": "'diagnosticLogging' is deprecated. Use 'trace' instead." }, "verboseDiagnosticLogging": { "type": "boolean", "description": "When true, the adapter logs all traffic with the client and target (as well as the info logged by 'diagnosticLogging')", - "default": true + "default": true, + "deprecationMessage": "'verboseDiagnosticLogging' is deprecated. Use 'trace' instead." + }, + "trace": { + "type": [ + "boolean", + "string" + ], + "enum": [ + "verbose", + true + ], + "default": true, + "description": "When 'true', the debugger will log tracing info to a file. When 'verbose', it will also show logs in the console." }, "url": { "type": "string",