When making changes to YAML-defined Azure DevOps Pipelines, it can be quite tedious to push changes to a branch just to see the build fail with a parsing error (valid YAML, but
You can run the Azure DevOps agent locally with its YAML testing feature.
Use Visual Studio Team Services Agent to install an agent on your local machine and use the agent local YAML testing feature that is available within the agent.
This should get you very close to the type of feedback you would expect.
Hope this helps.