I am trying to set up an xdebug inside a docker such as it communicates with PhpStorm. I have found steps for linux which sounds promising. However, the following command fails to run on macOS (
sudo: ip: command not found). I failed to translate the following Linux command to a macOS command.
sudo ip addr add 10.254.254.254/24 brd + dev wlp4s0 label wlp4s0:1
How to run it on macOS?