Inside the running pod run the following command:
kill -s SIGUSR1 1
In computer, run the following command to forward debug port:
kubectl port-forward -n <namespace> <pod-name> <pc-port>:9229
Access the node inspect tool
edge://inspect or chrome://inspect (Edge proved to be better at it)