【PowerShell】bashのset -xと同じようにデバッグトレースをPowerShellで実現する方法
はじめに 最近PowerShellにハマっている私ですが、bash・zshで言うところのset -x(set -o xtrace)をPowerShellでもやりたいなと思いました。今回はそのやり方を紹介したいと思います。 はじめに その前に PowerShellでデバッグトレースを有効にする方法 その前に set -x(set -o xtrace)を用いることで実行される各コマンドが標準出力に表示されます。 Print a trace of simple commands, for commands, case commands, select commands, and arithmetic…
2025/03/31 12:00