What stack do you use? It sounds like you don't use a debugger, which is like hearing that someone is searching a dark cave without a flashlight.
If you want to build a local or cloud-based test server, you can create a Docker image on your machine and automate it to build and then run tests.