Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.94k stars 441 forks source link

Setup app settings for remote debugging node and python functions on linux dedicated apps #4430

Open pragnagopa opened 5 years ago

pragnagopa commented 5 years ago

cc @mhoeger @ColbyTresness

Following app settings, need to be set when APPSVC_REMOTE_DEBUGGING is set to true

languageWorkers__node__arguments = --inspect=0.0.0.0:5858
APPSVC_TUNNEL_PORT = 5858

@ahmelsayed - Do you have any ideas on how to achieve this?

ahmelsayed commented 5 years ago

We can set them here conditionally.

pragnagopa commented 5 years ago

python should work as well. @maiqbal11 - do you know debug settings needed for python ?

maiqbal11 commented 5 years ago

It's using the ptvsd module: -m ptvsd --server --port 9091

ahmelsayed commented 5 years ago

Opened https://github.com/Azure/azure-functions-docker/pull/107