[dds/dap] Set supportsANSIStyling=true in DAP server capabilities
This is the proper fix for https://github.com/Dart-Code/Dart-Code/issues/5302, which is to advertise to clients that we may use ansi color codes in output events. It requires increasing the DAP constraint because this field was added to the DAP package in 1.4.0 and we need to ensure anyone (like Flutter) building on top of this base debug adapter has a matching version. Change-Id: Ie595cda91389f1c7f031a657c96e9f7480b00933 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397521 Reviewed-by: Derek Xu <derekx@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>
This commit is contained in:
committed by
Commit Queue
parent
a999cec694
commit
a990da0992
@@ -8,6 +8,8 @@
|
||||
collected while execution is paused, while releasing them once execution
|
||||
resumes.
|
||||
- Updated `vm_service` constraint to ^14.3.0.
|
||||
- [DAP] Updated `dap` constraint to ^1.4.0.
|
||||
- [DAP] Set `supportsANSIStyling` to `true` in debug adapter capabilities to indicate that `Output` events might contain ansi color codes.
|
||||
|
||||
# 4.2.7
|
||||
- Added a new constant `RpcErrorCodes.kConnectionDisposed = -32010` for requests
|
||||
|
||||
@@ -1249,6 +1249,7 @@ abstract class DartDebugAdapter<TL extends LaunchRequestArguments,
|
||||
defaultValue: true,
|
||||
),
|
||||
],
|
||||
supportsANSIStyling: true,
|
||||
supportsClipboardContext: true,
|
||||
supportsConditionalBreakpoints: true,
|
||||
supportsConfigurationDoneRequest: true,
|
||||
|
||||
@@ -14,7 +14,7 @@ dependencies:
|
||||
browser_launcher: ^1.0.0
|
||||
collection: ^1.15.0
|
||||
dds_service_extensions: ^2.0.0
|
||||
dap: ^1.3.0
|
||||
dap: ^1.4.0
|
||||
extension_discovery: ^2.0.0
|
||||
devtools_shared: ^11.0.0
|
||||
http_multi_server: ^3.0.0
|
||||
|
||||
Reference in New Issue
Block a user