Is it possible to launch the AppVeyor PowerShell hosting logic manually to enable debugging?

Dan Travison's Avatar

Dan Travison

16 Aug, 2016 11:41 PM

I'm running tests for the xWebDeploy DSC resource and a recent change is causing a failure that only repro's when run invoked from the test_script part of appveyor.yml. The problem is PowerShell's module depth is being exceeded and I need to debug it to see where it is occurring.

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Aug, 2016 01:24 AM

    Feodor Fitsner's Avatar

    AppVeyor has custom implementation of PowerShell's PSHost. I can't figure out an easy way to re-run build agent while being on RDP.

    You can setup RDP to build worker then add some Start-Sleep -s x before problematic commands to be able to setup debugging environment.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:08 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac