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 brd + dev wlp4s0 label wlp4s0:1

How to run it on macOS?


How about

sudo route -n add -net -ifscope wlp4s0

Source: man route

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .