Skip to content
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

Allow passing RunspaceName #951

Merged

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented May 6, 2019

Paired with PowerShell/vscode-powershell#1954

Folks will be able to specify a runspaceName in their launch.json. For example:

{
    "type": "powershell",
    "request": "attach",
    "runspaceName":"PowerShellManager",
    "customPipeName":"AzureFunctionsPSWorker"
}

Some actually informative launch.jsons instead of runspaceId: 1!

@@ -22,6 +22,8 @@ public class AttachRequestArguments

public string RunspaceId { get; set; }

public object RunspaceName { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible to make this a string?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed!

@PowerShell PowerShell deleted a comment May 8, 2019
spaces

Co-Authored-By: Robert Holt <rjmholt@gmail.com>
@PowerShell PowerShell deleted a comment May 21, 2019
@TylerLeonhardt TylerLeonhardt merged commit 55d01fc into PowerShell:master May 21, 2019
@TylerLeonhardt TylerLeonhardt deleted the allow-passing-runspacename branch May 21, 2019 21:33
TylerLeonhardt added a commit to TylerLeonhardt/PowerShellEditorServices that referenced this pull request May 21, 2019
* Allow passing runspace name

* change object to string

* Apply suggestions from code review

spaces

Co-Authored-By: Robert Holt <rjmholt@gmail.com>
TylerLeonhardt added a commit that referenced this pull request May 22, 2019
* Allow passing runspace name

* change object to string

* Apply suggestions from code review

spaces

Co-Authored-By: Robert Holt <rjmholt@gmail.com>
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

Successfully merging this pull request may close these issues.

3 participants