If you want a career then I'd start backwards: Where do you want to be? What can you imagine yourself as? And then works from there what you need to get there. And likely what you have to do is upskilling somehow before you can even apply, you can probably take a lot of learnings from your past 10 years and apply them to your new role but there are likely a few things you have to learn first.
On the developer point specifically: Can you not imagine yourself as a developer because of self-doubts or because you really don't like that path? If you already didn't like it 10 years ago you might not like it now either but if it's just because of doubts whether you can do it then it's a different story. It's certainly also going to be difficult to get back into a developer role but with the current job market it is probably still easier than most other career options IMO