Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:21
    functionkey-12 closed #4059
  • 13:21
    functionkey-12 commented #4059
  • 13:14
    tlgill commented #4041
  • 05:26
    Kemeros commented #3851
  • Jul 02 13:16
    functionkey-12 commented #4059
  • Jul 01 21:20
    andschwa assigned #4059
  • Jul 01 21:20
    andschwa commented #4059
  • Jul 01 21:02
    tmknight commented #4059
  • Jul 01 21:01
    tmknight commented #4059
  • Jul 01 20:43
    tmknight commented #4059
  • Jul 01 20:42
    tmknight commented #4059
  • Jul 01 20:30
    tmknight commented #4059
  • Jul 01 20:26
    tmknight commented #4059
  • Jul 01 20:21
    andschwa closed #4057
  • Jul 01 19:49
    andschwa commented #3683
  • Jul 01 19:35
    functionkey-12 commented #4059
  • Jul 01 19:03
    andschwa commented #4059
  • Jul 01 19:01
    andschwa commented #4059
  • Jul 01 19:00
    andschwa commented #4041
PowerShell Connect
@PoshConnect_twitter
jblewismn (slack) I'm happy to do a new issue or if there's one you want me to add a comment to, let me know.
seeminglyscience (discord) yes please! a comment here PowerShell/vscode-powershell#3982 would be 💯
PowerShell Connect
@PoshConnect_twitter
Mikey Lombardi (He/Him) (discord) Entirely possible someone else has seen this, but I'm poking at updating the screenshots for remote debugging and... it seems to ignore my breakpoints 😅
seeminglyscience (discord) soooo you on 7?
Mikey Lombardi (He/Him) (discord) sho nuff
seeminglyscience (discord) if you're on 7, you gotta add the breakpoints before attach
seeminglyscience (discord) if you're not on 7 it's kinda tough luck there
seeminglyscience (discord) also this is temps
seeminglyscience (discord) so maybe hold off
PowerShell Connect
@PoshConnect_twitter
seeminglyscience (discord) because I'm rewriting how that's handled to sync breakpoints between the UI and the console in and out of debug sessions

Mikey Lombardi (He/Him) (discord) Probably worth a quick chat to see if your changes are going to impact this article:

https://docs.microsoft.com/powershell/scripting/dev-cross-plat/vscode/using-vscode-for-remote-editing-and-debugging

I'm updating the screenshots due to the change in the API that dropped the version icon, I can ticket this separately if there's meaningful changes - if there isn't, as long as I can make the screenshots look right then /shrug (edited)

seeminglyscience (discord) should look the same afaik
Mikey Lombardi (He/Him) (discord) this sounds a little bit like the doc as written (enter-pssession -> psedit -> add breakpoint -> F5) maybe doesn't work? Or I'm thinking of attach differently thanks to delve/go
PowerShell Connect
@PoshConnect_twitter
seeminglyscience (discord) it may have at one point and is now broken, and is coincidentally about to be fixed
seeminglyscience (discord) if that helps clear it up? 😁
jborean93 (discord) I've had mixed results doing remote debugging
jborean93 (discord) like I've gotten it to work sometimes but only through weird arcane magic and even then it was limited because you were stuck with what files were available on the filesystem or something
Mikey Lombardi (He/Him) (discord) I get off work in ~40m, tyvm 😉
Mikey Lombardi (He/Him) (discord) Does the PowerShell extension play nice with the remote-ssh extension? 🤔
jborean93 (discord) yea all that stuff is fine
jborean93 (discord) essentially because it's all running on the remote as it would locally but presented over ssh
PowerShell Connect
@PoshConnect_twitter
jborean93 (discord) the thing I've had trouble with before is running vscode locally, doing enter-pssession in the integrated terminal and trying to debug that script through that remote pssession
Mikey Lombardi (He/Him) (discord) I suppose the upside to not mentioning the remote-ssh extension is I don't have to say anything about there not being a remote-winrm extension lol
PowerShell Connect
@PoshConnect_twitter
seeminglyscience (discord) that checks out. I haven't played with it yet, but I just sorta figured it was broken. But no one ever reports issues with it so I figure it's either broke and no one uses it or it works 😁
seeminglyscience (discord) I sure ain't finishin' today so you say whatever you gotta 😁
Mikey Lombardi (He/Him) (discord) you can't just code faster?
"just"
"code"
"faster"
🥺
seeminglyscience (discord) can I? yes.
seeminglyscience (discord) well also no because I'm done for the day
seeminglyscience (discord) but if I wasn't, I still wouldn't. I feel like I'm making this bit not funny so I'mma exit now lol
PowerShell Connect
@PoshConnect_twitter
Mikey Lombardi (He/Him) (discord) I'm a fervent and serious believer in "don't work after hours if it's not to save lives" and "slow is smooth, smooth is safe, safe is fast" - sorry if I walked up on the line there 😣
seeminglyscience (discord) oh, no I was doing a bit
seeminglyscience (discord) and I realized it wasn't funny and the only way to make that clear was to say that the bit wasn't funny so I'mma stop doing it lol
seeminglyscience (discord) it just didn't translate well to text form
seeminglyscience (discord) unless you're "yes and"ing my bad bit with more bit, in which case how dare you (edited)
Mikey Lombardi (He/Him) (discord) if we're not carefully we're gonna sync up and turn into a drill bit.
PowerShell Connect
@PoshConnect_twitter
Mikey Lombardi (He/Him) (discord) https://tenor.com/view/husky-pun-dog-meme-gif-9639526
PowerShell Connect
@PoshConnect_twitter
Sitka (discord) Is there a problem currently when working with Powershell in VSCode? When i run my scripts it act weird in the terminal, copy everything there after a script run etc.
Sitka (discord) aha nvm
PrzemyslawKlys (discord) it's already fixed
PrzemyslawKlys (discord) just update it
Sitka (discord) Update what? PS or Vscode?
PowerShell Connect
@PoshConnect_twitter
PrzemyslawKlys (discord) extension
Sitka (discord) WOA, i have been using vscode for a long time and seriously always tought they update themself
PowerShell Connect
@PoshConnect_twitter
PrzemyslawKlys (discord) they do, but you can "force it"
PrzemyslawKlys (discord) depending on settings here
PowerShell Connect
@PoshConnect_twitter
donbear (discord) Hello, good day to everyone.
I run latest vscode on fully patched W10 Home.
I have the PS ext install. Up to version v2022.5.1 all was fine. Any later version cause the Terminal to hang at "starting powershell". It does not crash, it just sits there and hangs. Goingback to v2022.5.1 fixes the problem for me.
I can't find anything useful in any log, nor in on google, except a similar issue back in 2018....
PowerShell Connect
@PoshConnect_twitter
justinwgrote (discord) @donbear I actually saw this too while I was at PSConfEU in my insiders vscode, after multiple restarts even, but it worked fine in my vscode stable. It just kinda resolved itself tho I think the next day
@andschwa @seeminglyscience heads up if there were any related changes.
PowerShell Connect
@PoshConnect_twitter
donbear (discord) thank you.
I actually have 2 vscode installs.
One a work PC with W10 pro and the one on the home PC described above.
Both are set up the same way. Just the powershell and python extensions. Both have ps5.1 and ps7.2.4 or .5 (tested both). I updated the PS extension on both, but only the home PC shows the issue.
I am really lost.