Skip to content

Enable Debugging for language workers

sarah edited this page Jul 30, 2025 · 6 revisions

dotnet

Refer to the instructions outlined in the official docs.

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"

Python

# 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"
Clone this wiki locally