From df2cfb0a6770e9266759372a1e9d3ffe6a1814ed Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 13 Sep 2023 11:27:22 -0700 Subject: [PATCH] Add 'when' to 'clr' debugger for Windows This PR adds a when clause to detect if the platform is a windows machine. This change will only show the 'clr' debugger if it is a windows machine. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1d3a1c0ea..794ae6d8f 100644 --- a/package.json +++ b/package.json @@ -3085,7 +3085,8 @@ }, { "type": "clr", - "label": ".NET Framework 4.x (Windows only)", + "when": "workspacePlatform == windows", + "label": ".NET Framework 4.x", "languages": [ "csharp", "razor",