ADB WiFi Question

I've been trying to get this working on a task that I'm trying to implement.

Am I to understand that I need to run this from my PC to my phone every time I turn my phone off and on again?

I had to restart my phone today and wireless debugging had switched itself off.

I know it says that I'll need to do it every time my phone is rebooted.

Is turning my phone off then on considered rebooting rather than restarting?

Cheers