2

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?

2

How about

sudo route -n add -net -ifscope wlp4s0 10.254.254.254/24 10.254.254.1

Source: man route

You must log in to answer this question.

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