- Open Che -> Workspaces -> -your workspace- -> Env Variables
- Add
WSAGENT_DEBUG
true
- Add
WSAGENT_DEBUG_PORT
8000
- If the agent should suspend on start add
WSAGENT_DEBUG_SUSPEND
y
- Hit Apply
To quickly figure out the ip of the agent container run docker ps
in the console and find the line with eclipse-che/workspace...
and in that line the debug port is at 0.0.0.0:xxxxxxx->8000/tcp