Skip to content

Support remote debugging of Python Apps on Azure App Service #2045

Closed

Activity

  1. rajata07 commented on Mar 6, 2020

    @rajata07

    Brett Cannon (@brettcannon) It seems that the upstream feature request has been already resolved. However, VS code doesn't support this feature.

  2. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Mar 6, 2020
  3. brettcannon commented on Mar 6, 2020

    @brettcannon
    Member

    Karthik Nadig (@karthiknadig) is this working on our end? I remember discussions around this but I can't remember where our support landed.

  4. karthiknadig commented on Mar 6, 2020

    @karthiknadig
    Member

    Tyreke and I had tested this out (back in November). It was working. From the extension side there is no additional support needed. The app service extension had to provide the right attach configuration and that was enough. App service added the prompts necessary to enable debugging and provide the necessary settings needed for this. We had tested flask and django apps using the app service extension.

    /cc Luciana Abud (@luabud)

  5. brettcannon commented on Mar 7, 2020

    @brettcannon
    Member

    OK, so it sounds like this can be closed then.

  6. ghost removed on Mar 7, 2020
  7. rajata07 commented on Mar 7, 2020

    @rajata07

    Karthik Nadig (@karthiknadig) I still get the following error when I try to start remote debugging:

    Action: appService.StartRemoteDebug
    Error type: Error
    Error Message: Azure Remote Debugging is currently only supported for Node.js apps on Linux.

    As mentioned Azure app service supports debugging on Python as well.

  8. karthiknadig commented on Mar 7, 2020

    @karthiknadig
    Member

    Rajat Arora (@rajata07) this error is coming for the appservice extension. You should report it there. The appService extension sets up the connection (where the error seems to be coming from). Once the connection is ready and debug server has started, the appService extension starts the debug session in VS Code. This is where python extension gets involved providing remote debugging over the port provided by appservice.

  9. locked as resolved and limited conversation to collaborators on Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions