![]() I have no other python versions installed. I've done a clean install of Visual Studio Code (including the python extension) and Python 3.6. I've tried setting up the debugger as shown by Microsoft, and this youtube video. If you want me to add other debug-viewers for your objects, please open an issue for it, and provide simple example (in python, of course) of how to save an image from your object.I seem to be missing something simple, but I can't figure out why I am unable to debug python using Visual Studio Code on Windows. So, I've added a command to force VSCode "tell" me the current frame. ![]() I couldn't find a way to get the current frame, if it was changed by the user (again and again). Use the command: Debug View Python: Update Frame ID. Selecting different call-stack frame does not work as expected. The solution to it is to set the restrictImageTypes setting to true (should be by default). ![]() It might happen when (very) large, non- numpy array object, is being used. Memory blows-up when using the extension. To show plot/tensor, edit the configuration at: "". ![]() By default, it'll show only image variables.scikit-image is required for this.Īdded a watch view, for watching image/plot/tensor variables, while refreshing the image-view at each breakpoint. numpy.ndarray is considered a tensor if it has 4 channels, or 3 channels but it does not pass as an single image.NOTE when using this feature, the expression is actually executed, so beware of side-effects.Based on the great work of john-guo, a more general version for the extension. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |