Why wouldn't this scheme to pay off the national debt work? Or would it?

How do other countries know you’re printing more money though?