Use an external editor with Blender 🐵.
To make this work you need to install the corresponding addon 2blender. This will start a simple tcp server to manage the synchronisation process. Since this could be a security risk you might want to keep an eye on activation state of the addon when you finished your python development.
This application is based on Node.js so you need to install it from https://nodejs.org/en/download/.
After that you can install the application with npm install toblender -g
. It needs to be global to make it systemwide available.
See COMMANDLINE-ARGUMENTS.md for all details.