If you're just doing basic local testing, you're not going to have much traffic coming to your computer. It's fine to just use your main computer and turn the server on/off as needed.
If you're hosting a website or other resource from your computer, it's better to use a dedicated computer as the server. You'll be dealing with more traffic, which uses more resources. This makes it harder for your computer to perform as well for your everyday tasks.