Debug Python Script in doctype without having to restart bench everytime

Hello there,

everytime I change a file, I have to restart bench to make the changes take effect.

How can I prevent this?

The system is already in a production mode (its running all the time), but developer_mode is enabled in site_config.json.

Thank you very much.

You don’t start supervisor.

Just use bench start

(have you seen the developer tutorial/videos?)

1 Like

Yes, I have seen them. But in the moment, the server is in production mode, so it’s running all the time. What do I have to stop to you bench start afterwards?

Thank you.