vscode-azureappservice
vscode-azureappservice copied to clipboard
Fix and enable remote debugging for Python on Linux
I tried to do Start Remote Debug for a deployed Python application on Linux Web Apps. VS Code presented an error (from https://github.com/microsoft/vscode-azureappservice/blob/main/src/commands/remoteDebug/getRemoteDebugLanguage.ts#L45-L49 )
that only node.js is supported.
After looking at the source, I noticed this feature toggle enablePythonRemoteDebugging and enabled that. The feature toggle is off by default and doesn't look like it's been changed in a year.
After enabling the toggle, I was able to start a debug session but not able to successfully set and fire a breakpoint.
Is this feature experimental/ready/not working?
The feature is currently in preview - I'm pretty sure we kept it hidden under a feature flag because it was not working yet, but I haven't personally tried it in a while. We're tracking enabling it in this issue: https://github.com/microsoft/vscode-azureappservice/issues/1523. Part of the reason I know so little about it is that it was contributed to our extension by a partner team and a decent amount of the work is actually on the Azure side (which I don't think we have access to).
The feature is currently in preview - I'm pretty sure we kept it hidden under a feature flag because it was not working yet, but I haven't personally tried it in a while. We're tracking enabling it in this issue: #1523. Part of the reason I know so little about it is that it was contributed to our extension by a partner team and a decent amount of the work is actually on the Azure side (which I don't think we have access to).
Thanks, I'll see if I can figure out where the gaps are on the backend.
Related issue : https://github.com/microsoft/Oryx/issues/1035
Still requires azure tools to be bumped and the version updated in this extension. @ejizba do you know what timeline thats on and when this extension will hit its next release candidate?
If you want azure tools to be released, then bump the version and I can release it whenever. In terms of the next release of the extension, that will likely be late September