-
Notifications
You must be signed in to change notification settings - Fork 439
Enable Debugging for language workers
Ahmed ElSayed edited this page Feb 4, 2019
·
5 revisions
To debug a C# function, you just need to attach the C# debugger to the func
process.
# Where 5858 is the node inspect port you want to pass to the node worker
func start --language-worker -- "--inspect=5858"
# Where 5005 is the java debug port.
func host start \
--language-worker -- "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
# Where 9091 is the python debug port you can attach to.
func host start \
--language-worker -- "-m ptvsd --host 127.0.0.1 --port 9091"