Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would be nice if there was a way to debug a view remotely in production.


Well, as previously stated in Pycharm and Visual Studio (not tested on others) there is. If I remember correctly, both will install their requirements remotely and then allow you to do so. However, I would not recommend it:

- you will probably forget to clean up after the fact leaving you with both performance and security problems

- you should never debug in production, use something like Sentry instead also, better to replicate the production environment in a sandbox (either on your machine using Vagrant or Docker, etc. if feasible) or in the cloud by taking a snapshot of your production environment and using it as a sandbox to debug (and then of course destroying it after use).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: