Debugging vs code python function app with custom docker image

Anonymous
2023-03-10T21:57:48.6033333+00:00

I am not able to understand the right configuration to debug python function app using custom docker image from VS Code. I have attached the launch and task.json.

Steps:

  1. Build Docker Image
  2. Run Docker Image built in prior step and launch debugger

I did not find any documentation specific to python function apps, there are examples of flask apps.

https://code.visualstudio.com/docs/containers/debug-python

launch.txt

task.txt

Thanks in advance!!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-03-14T04:43:55.7166667+00:00

    Hi @Anonymous

    Welcome to Microsoft Q&A! 

    You are using Visual Studio Code, which is different from Visual Studio. The tag “Visual Studio Debugging” is related to Visual Studio, for more questions about Visual Studio Code, you can post it to the Stack Overview tagged visual-studio-code forum or GitHub repository where you would get professional support for this product.

    Thanks for your understanding.

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.