Skip to content

Debugging in Temporary Console Fails #2124

@GQnzo

Description

@GQnzo

Issue Description

When I attempt to debug a script in "PowerShell Launch Current File in Temporary Console" I get the following error:

PowerShell Integrated Console

chmod: /var/folders/nx/qf4td1pd7fx6spbvp3czsp040000gn/T/CoreFxPipe_PSES_ivhgzmjd.3yf: No such file or directory
stat: /var/folders/nx/qf4td1pd7fx6spbvp3czsp040000gn/T/CoreFxPipe_PSES_ivhgzmjd.3yf: stat: No such file or directory


Permissions to the pipe file were not set properly. Expected: 600 Actual:  for file: /var/folders/nx/qf4td1pd7fx6spbvp3czsp040000gn/T/CoreFxPipe_PSES_ivhgzmjd.3yf
[DebugSession-5.log](https://github.com/PowerShell/vscode-powershell/files/3473526/DebugSession-5.log)
[vscode-powershell.log](https://github.com/PowerShell/vscode-powershell/files/3473527/vscode-powershell.log)

This happens even if I try to run a oneliner Write-Host command in the script. If I don't use the Temporary Console option it runs fine.

Attached Logs

Environment Information

Visual Studio Code

Name Version
Operating System Darwin x64 18.7.0
VSCode 1.36.1
PowerShell Extension Version 2019.5.0

PowerShell Information

Name Value
PSVersion 6.2.2
PSEdition Core
GitCommitId 6.2.2
OS Darwin 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019, root:xnu-4903.270.47~4/RELEASE_X86_64
Platform Unix
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.2.2
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
powershell ms-vscode 2019.5.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions