First time here? Check out the FAQ!
1

Azure functions
 

Has anyone used Wingware to develop Microsoft Azure functions implemented in Python?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
gknauth's avatar
11
gknauth
asked 4 years ago
Wingware Support's avatar
4.3k
Wingware Support
updated 4 years ago

Comments

see more comments

1 Answer

0

We haven't tried this here but from looking at https://docs.microsoft.com/en-us/azur... I think it should be possible to debug locally run Azure functions by adding 'import wingdbstub' to the __init__.py as described in https://wingware.com/doc/debug/debugg... -- this allows you to initiate debug from outside of Wing, so is can be started when you do 'func start' and you could reach breakpoints and exceptions when you invoke the function from the browser.

It's possible you'll need to disable automatically handling exceptions in some way, so they appear in Wing and not Azure's built-in support for catching exceptions (which I'm assuming exists).

Also, it may be possible to see what 'func start' does internally and set up an entry point to just launch the code directly from the IDE.

Please don't hesitate to email support@wingware.com or post here if you try to set this up and have questions. We're happy to help.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
answered 4 years ago
This post is a wiki. Anyone with karma >75 is welcome to improve it.
link

Comments

see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)