This usually means that either there is nothing that can be debugged running on the specified URL (e.g. if the application isn't deployed there) or that the URL is entirely wrong. Can you share your debugger URL with us? (if necessary you can remove some parts of it if you're not allowed to share the whole thing)
Do you have any access restriction protocols set for that environment in the Mendix Cloud? That could be blocking access to the /debugger/ endpoint.
https://docs.mendix.com/developerportal/deploy/access-restrictions/#access-restriction-profiles
Today we encountered the same issue, 1 of our 3 environments of the same app reported 404 on the /debugger endpoint (instead of an empty `{}` JSON response as opposed to the working ones), and Studio Pro gave an error when given the remote debugging URL and password.
Restarting the environment fixed the issue immediately.