Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b1b23e7

Browse files
WIP Enhance Start-EditorServices.ps1 for better logging and fix bugs (#1198)
* Initial stab at logging PSES startup script * Try different approach to find ports in use * Revert back to Test-PortAvailability due to missing .NET Core features Modify Test-PortAvailability to check each address (ipv4 and ipv6) in AddressList for localhost. * Add blank line between func defs * Revert bool condition check, $true on RHS * Add support for Diagnostic log level Set Start-EditorServices to log only for Diagnostic log level. Add string enum support for log level so in UserSettings you get a list.
1 parent a85586e commit b1b23e7

File tree

3 files changed

+109
-182
lines changed

3 files changed

+109
-182
lines changed

‎package.json‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,15 @@
502502
},
503503
"powershell.developer.editorServicesLogLevel": {
504504
"type": "string",
505+
"enum": [
506+
"Diagnostic",
507+
"Verbose",
508+
"Normal",
509+
"Warning",
510+
"Error"
511+
],
505512
"default": "Normal",
506-
"description": "Sets the logging verbosity level for the PowerShell Editor Services host executable. Valid values are 'Verbose', 'Normal', 'Warning', and 'Error'"
513+
"description": "Sets the logging verbosity level for the PowerShell Editor Services host executable. Valid values are 'Diagnostic', 'Verbose', 'Normal', 'Warning', and 'Error'"
507514
},
508515
"powershell.developer.editorServicesWaitForDebugger": {
509516
"type": "boolean",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /