robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[QUESTION] How to enable debug logging of the extension to

Open wvanmourik-uwv opened this issue 1 year ago • 0 comments

Problem situation: I have several git repositories with Robot Framework setups in them. In these I can succesfully work with the Robotcode extension. Recently I inherited another git repo (with a robot framework setup in it) from a colleague and this one causes an odd issue: after opening a .robot file, the play/debug button in the gutter bar appears for a short while (~1sec), but then disappears indefinitely (until closing and reopening the file, but disappears again). This makes debugging tests impossible. (I can still run tests from this repo succesfully with robot from the cli)

Question: Is there a way to enable logging from the extension to become aware of why the extension fails (to stay connected to the .robot files)?

Extra info: Another colleague does not experience this issue with this repo with the same versions of VSCode and the extension, so it is puzzling what is different on my end. The repo contains about 180 .robot files and there are about 775 problems in them, such as undeclared (declared in other files) variables and circular dependencies. I doubt these are too blame.

**Versions used: **

  • VS Code Version [1.94.2]
  • RobotCode Version [0.109.1]
  • OS: [Windows]
  • Python Version [3.9.10]
  • RobotFramework Version [7.0.1]

wvanmourik-uwv avatar Feb 18 '25 18:02 wvanmourik-uwv