News for hackers. Stuff that matters.
Re:Guide to Python Debugging by sooheon on Tuesday June 02, 2020 @12:38AM (#23387499)
> vscode's remote development UX is really really nice

I'm very interested in this, so looked it up.

For your use case, I think it's just a matter of setting the correct Deployment Mappings. There's a setting when you're creating the remote interpreter to specify your own mapped directory (not the default /tmp/pycharm-foo) and a checkbox to not have it automatically upload what you have on your local machine (since in your case the source of truth is the remote). Then you can manually sync the diffs yourself with pycharm or git.

Your workflow's interesting in that the remote machine is the main and your laptop's the satellite, and pycharm's model has it the other way around.

Also, if you've already got the interpreter set up, you can just change the deployment mapping settings.

Re:Guide to Python Debugging by hermitdev on Tuesday June 02, 2020 @12:54PM (#23393160)
My one current gripe about PyCharm is its seemingly lack of support for git submodules. As in I don't see any way to do a pull or push or work with branches on a submodule. I resort to doing all of my git work on the command line (which I don't mind - it's how I learned to work with git from the beginning).
Re:Guide to Python Debugging by _coveredInBees on Tuesday June 02, 2020 @01:12AM (#23387675)
Thanks for taking the time to look into this. I'll give this a shot again when I have a bit of time to tinker with this.
Re:Guide to Python Debugging by ngcc_hk on Tuesday June 02, 2020 @01:52AM (#23387933)
Thanks as well. Help people like me who walks by.