1. 使用Pycharm打开项目,定位到reader目录 `to_your_path\[200223]Visual Novel Reader V2[2.52 GB]\Visual Novel Reader\Library\Frameworks\Sakura\py\apps\reader`
2. 在Pycharm -> Setting -> Python Interpreter -> System Interpreter , 定位到 `Visual Novel Reader\Library\Frameworks\Python\python.exe` 设置VNR自带的python2.7 解释器 , Apply, Ok. (pycharm会提示更新依赖,但请勿更新)
3. 在打开的项目右上角中编辑启动配置,Script path 选择 `reader\__main__.py` Parameters 填入 `--debug`
VSCode也差不多都能打断点、不过Pycharm使用起来强大很多,找被信号关联起来的函数也很方便
2. 在Pycharm -> Setting -> Python Interpreter -> System Interpreter , 定位到 `Visual Novel Reader\Library\Frameworks\Python\python.exe` 设置VNR自带的python2.7 解释器 , Apply, Ok. (pycharm会提示更新依赖,但请勿更新)
3. 在打开的项目右上角中编辑启动配置,Script path 选择 `reader\__main__.py` Parameters 填入 `--debug`
VSCode也差不多都能打断点、不过Pycharm使用起来强大很多,找被信号关联起来的函数也很方便