Skip to content

"PowerShell Launch Current File w/Args Prompt" does not work when VS Live Share extension is enabled #1332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aetos382 opened this issue May 22, 2018 · 9 comments

Comments

@aetos382
Copy link

aetos382 commented May 22, 2018

System Details

  • Operating system name and version: Windows 10 Pro 1803 (17134.48)
  • VS Code version: 1.23.1
  • PowerShell extension version: 1.7.0
  • Output from $PSVersionTable:
Name Value
PSVersion 5.1.17134.48
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.48
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:

code -v

1.23.1
d0182c3417d225529c6d5ad24b7572815d0de9ac
x64

$pseditor.EditorServicesVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
1      7      0      0

code --list-extensions --show-versions

[email protected]
[email protected]

$PSVersionTable
same as above

Issue Description

Select the debug configuration "PowerShell Launch Current File w/Args Prompt" and press F5, the error ”command 'SpecifyScriptArgs' not found" may occur and the input box for entering command line is not displayed.

ss

If the VS Live Share extension is disabled, the input box for entering the command line opens normally.

Attached Logs

1526972616-e58721df-185c-44de-8ff1-48588130085c1526972613084.zip

@aetos382 aetos382 changed the title "PowerShell Launch Current File w / Args Prompt" does not work when VS Live Share extension is enabled "PowerShell Launch Current File w/Args Prompt" does not work when VS Live Share extension is enabled May 22, 2018
@rkeithhill
Copy link
Contributor

I believe this is a duplicate of #1315 which has been fixed in daily builds but hasn't been released yet. Hopefully, in the next few weeks we will publish an update with this fix.

@aetos382
Copy link
Author

aetos382 commented May 23, 2018

@rkeithhill Thanks for review.

No, I think this issue is not a duplicate of #1315.

This problem is that the input box for entering the command line does not open.
Error messages are also different.
And only occurs if the VS Live Share extension is enabled.

In #1315, although the input box is displayed, it can not be executed even if you enter the command line.
Also occur even if the VS Live Share extension is not installed.

@TylerLeonhardt
Copy link
Member

@aetos382 if you don't mind, can you try one of the CI builds here to see if it fixes your issue or not:
https://ci.appveyor.com/project/PowerShell/vscode-powershell/build/artifacts

to install the vsix, open the command pallet in VSCode (ctrl+shift+p) and type "vsix" - you'll see the option.

@aetos382
Copy link
Author

@tylerl0706 Thanks.

I tried with 1.7.0-insiders-549, this problem does not occur.

@TylerLeonhardt
Copy link
Member

TylerLeonhardt commented May 28, 2018

Fantastic! That will be in the next release :)

@florianknecht
Copy link

Hello everyone,

I just tried with the latest build 1.7.0-insiders-643 from the link you provided @tylerl0706 . This didn't work and so I also tried with the one @aetos382 reported working, 1.7.0-insiders-549.

Both of those have the same problem @aetos382 describes, if VS Live Share is enabled. At least "on my machine"... Could someone take another look at this?

Windows 10 Pro 1803 (17134)
VS Code 1.24.1

I can provide more system information and/or open another issue if that helps.

@rkeithhill
Copy link
Contributor

I was just using launch w/args last night on my dev instance - which has LiveShare installed (and enabled). Or are you actively using LiveShare?

@florianknecht
Copy link

This is some weird behavior then. I don't have a clue right now what might be causing it on my end. I'm not sharing something with LiveShare while trying to launch, either.

It's not killing my workflow right now and I don't really have time to dig deeper into this in the next few days. Just wanted to let you guys know that there might still be something off. Of course, if someone wants to investigate I'll be happy to help and provide more info.

@rkeithhill
Copy link
Contributor

@asdorius Do you still have this problem? I was seeing on one machine at work with Live Share installed but now I don't see it anymore. Not sure if maybe a LiveShare extension update fixed it or updating to the latest VSCode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants