-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The problem is in the powershell extension. I've checked other settings.
The ones to check:
Command line: C:\Program Files\PowerShell\7\pwsh.exe '-NoProfile' '-ExecutionPolicy' 'Bypass'
'-Command' '
Import-Module 'c:\Users\david.vscode-oss\extensions\ms-vscode.powershell-2025.0.0-universal\modules\PowerShellEditorServices\PowerShellEditorServices.psd1
Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2025.0.0'
-BundledModulesPath 'c:\Users\david.vscode-oss\extensions\ms-vscode.powershell-2025.0.0-universal\modules'
-EnableConsoleRepl
-StartupBanner "PowerShell Extension v2025.0.0 Copyright (c) Microsoft Corporation.
Here's a breakdown of the command line parameters:
C:\Program Files\PowerShell\7\pwsh.exe: This specifies the path to the PowerShell executable (version 7 in this case).
-NoProfile: This option tells PowerShell to start without loading the user's profile scripts, which can help avoid issues with custom configurations.
-ExecutionPolicy Bypass: This allows the script to run without being blocked by the execution policy settings.
-Command: This indicates that the following string is a command to be executed.
Import-Module '...': This imports the PowerShell Editor Services module, which is necessary for the extension to function.
Start-EditorServices: This command starts the editor services with various parameters:
-HostName 'Visual Studio Code Host': Specifies the host application.
-HostProfileId 'Microsoft.VSCode': Identifies the host profile.
-HostVersion '2025.0.0': Indicates the version of the host.
-BundledModulesPath '...': Path to the bundled modules.
-EnableConsoleRepl: Enables the console REPL (Read-Eval-Print Loop).
-StartupBanner: Displays a startup banner message.
-LogLevel 'Warning': Sets the logging level to warning.
-LogPath '...': Specifies where to log messages.
-SessionDetailsPath '...': Path to store session details.
-FeatureFlags @(): Allows for additional feature flags to be specified.
The last part mentions that the Git extension has contributed to the terminal's environment, enabling features related to Git authentication.
**Env: **Windows, VsCodium
Error:
Set-PSBreakpoint: Debugging is not supported on remote sessions
Script:
Get-PSBreakpoint | Remove-PSBreakpoint; Set-PSBreakPoint -Command Script_Debugger -Action { break; }
Powershell environment
PowerShell Extension
Process ID (PID): 10348
Command line: C:\Program Files\PowerShell\7\pwsh.exe '-NoProfile' '-ExecutionPolicy' 'Bypass' '-Command' 'Import-Module 'c:\Users\david.vscode-oss\extensions\ms-vscode.powershell-2025.0.0-universal\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2025.0.0' -BundledModulesPath 'c:\Users\david.vscode-oss\extensions\ms-vscode.powershell-2025.0.0-universal\modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2025.0.0 Copyright (c) Microsoft Corporation.
https://aka.ms/vscode-powershell Type 'help' to get help. " -LogLevel 'Warning' -LogPath 'c:\Users\david\AppData\Roaming\VSCodium\logs\20250418T133926\window1\exthost\ms-vscode.powershell' -SessionDetailsPath 'c:\Users\david\AppData\Roaming\VSCodium\User\globalStorage\ms-vscode.powershell\sessions\PSES-VSCode-25832-996568.json' -FeatureFlags @() '
The following extensions have contributed to this terminal's environment:
Git: Enables the following features: git auth provider