powershellvisual-studio-codeazure-functionsvisual-studio-debuggingqueuetrigger

How to locally debug a Queue triggered Azure Function wirtten in PowerShell with Visual Studio Code?


I would like to have some information about how to do such a thing.

I've installed the plugins for Visual Studio Code, I've imported the modules at the beginning of my PowerShell script, I've fill the requirements.psd1 with the appropriate module names. Still, when I launch the command, nothing happen.

My goal is to create a team in Microsoft Teams using PowerShell.

I put a breakpoint and it is never reached. What am I doing wrong ?

Thank you.


Solution

  • Summarize the comments above as below for other communities reference:

    Just wait for some minutes until the powershell terminal displays some relevent information. Otherwise that means it is importing/installing modules. We can also refer to the post provided by Mathias in the comments.