Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DonJayamanne opened this issue Jun 22, 2018 · 6 comments
Closed

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

DonJayamanne opened this issue Jun 22, 2018 · 6 comments
Assignees
Labels
area-debugging feature-request Request for new features or functionality

Comments

@DonJayamanne
Copy link

@DonJayamanne DonJayamanne added feature-request Request for new features or functionality area-debugging info-needed Issue requires more information from poster needs upstream fix labels Jun 22, 2018
@brettcannon brettcannon removed the info-needed Issue requires more information from poster label Jul 30, 2018
@rajata07
Copy link

rajata07 commented Mar 6, 2020

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

@brettcannon brettcannon added triage-needed Needs assignment to the proper sub-team triage and removed needs upstream fix labels Mar 6, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Mar 6, 2020
@brettcannon
Copy link
Member

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

@karthiknadig
Copy link
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 @luabud

@brettcannon
Copy link
Member

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

@ghost ghost removed the triage label Mar 7, 2020
@rajata07
Copy link

rajata07 commented Mar 7, 2020

@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.

@karthiknadig
Copy link
Member

karthiknadig commented Mar 7, 2020

@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.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-debugging feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants