Basic Setting
Append
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
to yourJAVA_TOOL_OPTIONS
enviroment variables.Set your contaier mapping policy as node port and mapping your container port 5005 to any host port.
redeploy your app workload.
new idea remote run config and change the port as the above host port.