You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new function to the top of the file with any name or tab complete a basic template function.
Select Run and debug
function: C:\Users\testuser\Start-Test\Start-Test.ps1:1:1
Line |
1 | function Write-ToLog {
| ~~~~~~~~~
| The term 'function' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
After this debugging is broken. Removed and reinstalled the PowerShell extension and its the same result.
VS Code version: Code 1.97.2 (e54c774, 2025-02-12T23:20:35.343Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Type: Bug
function: C:\Users\testuser\Start-Test\Start-Test.ps1:1:1
Line |
1 | function Write-ToLog {
| ~~~~~~~~~
| The term 'function' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
After this debugging is broken. Removed and reinstalled the PowerShell extension and its the same result.
VS Code version: Code 1.97.2 (e54c774, 2025-02-12T23:20:35.343Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (16)
A/B Experiments
The text was updated successfully, but these errors were encountered: