【发布时间】:2019-10-20 16:50:35
【问题描述】:
看起来 Visual Studio Code PowerShell 扩展只能调试在 PowerShell Core 上运行的脚本。
在运行 PowerShell 5.1 时是否可以调试 PowerShell 脚本?我需要调试访问 Active Directory 的脚本。
【问题讨论】:
标签: visual-studio-code powershell-5.0 vscode-debugger powershell-core
看起来 Visual Studio Code PowerShell 扩展只能调试在 PowerShell Core 上运行的脚本。
在运行 PowerShell 5.1 时是否可以调试 PowerShell 脚本?我需要调试访问 Active Directory 的脚本。
【问题讨论】:
标签: visual-studio-code powershell-5.0 vscode-debugger powershell-core
在 Windows 上,是的。
https://code.visualstudio.com/docs/languages/powershell#_multiversion-support
TL;DR:只需点击右下角的版本号。
【讨论】: