Skip to content

Enable Debugging for language workers

Ahmed ElSayed edited this page Jul 26, 2018 · 5 revisions

dotnet

To debug a C# function, you just need to attach the C# debugger to the func process.

node

# Where 5858 is the node inspect port you want to pass to the node worker
func start --language-worker -- "--inspect=5858"

Java

# Where 5005 is the java debug port. 
func host start \
  --language-worker -- "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
Clone this wiki locally