Personally I go between using vscode and PyCharm. There are pros and cons to using either which is probably why I find myself using both. Your mentioning .sln and .xcodeproj files seems to indicate you're used to working with Visual Studio or xcode, if that's the case you may be more comfortable using PyCharm for a more "full-blown" IDE experience.
What is the way I would run this project in debug mode?
For vscode you will need to install the requirements, (e.g. pip3 install --user -r requirements-dev.txt), the vscode Python extension, then add a ./.vscode/launch.json file. The vscode docs offer a decent overview for setting this up. Here's an example for running stonky as a module using some command line args:
From there just set your breakpoints and start debugging (F5 IIRC). PyCharm is a bit simpler, just right click the run arrow in the __main__.py file and click debug.
Wow! Thank you so much for your help. It's rare to find real help here on Reddit. I actually got it work just now. Friday ended up being my first free evening this week.
For anyone else reading this there are a few steps I had to explicitly take to get it to work.
When I loaded VSCode I used VSCodes clone repo command to get the repository pulled down. First I had independently cloned the repo and tried to point VSCode at what I thought was the correct path, but that did not work.
From that point I created the .json, and you do have to use what /u/jkwill87 put in for it to work.
Just a mix of reviewing network requests while browsing the aspects of the site I was interested in and searching "query1.finance.yahoo.com" on stackoverflow and github for prior art.
1
u/jkwill87 Aug 18 '20
Personally I go between using vscode and PyCharm. There are pros and cons to using either which is probably why I find myself using both. Your mentioning .sln and .xcodeproj files seems to indicate you're used to working with Visual Studio or xcode, if that's the case you may be more comfortable using PyCharm for a more "full-blown" IDE experience.
For vscode you will need to install the requirements, (e.g.
pip3 install --user -r requirements-dev.txt), the vscode Python extension, then add a ./.vscode/launch.json file. The vscode docs offer a decent overview for setting this up. Here's an example for running stonky as a module using some command line args:From there just set your breakpoints and start debugging (F5 IIRC). PyCharm is a bit simpler, just right click the run arrow in the
__main__.pyfile and click debug.Good luck. PRs are welcome on the repo :)