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

Gracefully fail when trying to debug an Untitled file using Temp debugging #2458

Conversation

TylerLeonhardt
Copy link
Member

PR Summary

Without an instance of LanguageServer, the temp debugger never gets the contents of the Untitled file so it can't be run or debugged while using temp debugging.

This gives a friendly error saying it's not supported... instead of just hanging...

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • PR has tests
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

@TylerLeonhardt TylerLeonhardt merged commit 522e914 into PowerShell:master Feb 6, 2020
@TylerLeonhardt TylerLeonhardt deleted the graceful-fail-untitled-temp-debugging branch February 6, 2020 00:12
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.

None yet

3 participants