robotcodedev / robotcode

RobotFramework support for Visual Studio Code
https://robotcode.io
Apache License 2.0
168 stars 13 forks source link

[Question] Command robotcode.debugger #187

Closed martamedovova-ext91522 closed 5 months ago

martamedovova-ext91522 commented 7 months ago

Hello,

I have tried again the remote debugging from Jenkins but the command does not exist anymore :( I think I have done everything the same way as couple months before (it worked) and now it does not :( image

Can you help me Daniel?

Thanks

d-biehl commented 7 months ago

Starting the debugger has changed a little. The command is now a subcommand of the robotcode command and the debugger waits for a client by default, which means that the -w argument is not necessary.

Try this:

robotcode debug -- [your robot arguments...]

If you type robotcode debug --help you will get help for the debug command or look here:

https://robotcode.io/0.61/cli/reference/#robotcode-debug

Don't be surprised, the online help is still under construction.

Please give me a little feedback if it works ;-)

martamedovova-ext91522 commented 7 months ago

Thank you.

martamedovova-ext91522 commented 7 months ago

Hi Daniel, sorry need to reopen: Seems the new command works but it asks me to download some modules image and after need to this module: image

Why?

And after both instalation and press F5 in VS Code, the socket icon shows for a second and then I get this image

Have you seen it? Thanks

d-biehl commented 7 months ago

Ok, I see somehow a dependency has been lost. I will check this tonight and create a new package...

the second thing is, robotcode tries to create a default config file in the user directory, I think I need to check if I had the permissions...

d-biehl commented 7 months ago

can you try the new version 0.68.1?

just install or update it with

pip install -U robotcode[debugger]

martamedovova-ext91522 commented 7 months ago

Sure, I will.

I did and got the same error [Errno 13] Permission denied: '/home/jenkins/.config/robotcode/robot.toml' but at least do not have to download the modules...

I does not happend with version 0.48 which works :)

martamedovova-ext91522 commented 5 months ago

Hi, can you give me some answer and feedback please? I waited for end of the Robocon to contact you again ... :)

d-biehl commented 5 months ago

oh, sorry, somehow I overlooked your answer.

Were you at RoboCon?

I changed a little something in the last release. Can you please check that? If it works, everything is ok. If not, reopen this issue and can you please start robotcode with the command line switch -v on your ci?.

Something like this: robotcode -v debug <your options...> and post the output and the stacktrace here?

Does the directory /home/jenkins/.config even exist and if so, what permissions does it have?