How to launch a script before run/debug ? #373
-
|
Hello |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
No there is no easy way to do this. I think you have 2 possibilities:
|
Beta Was this translation helpful? Give feedback.
Thanks for quick reply.
robot.tomlsound good, but is specific to your extension and I need to support PyCharm too (used for a long time by the team).So, I used those launch configuration:
{ "name": "RobotCode: Default", "type": "robotcode", "request": "launch", "purpose": "default", "args": [ "--argumentfile", "${env:TEMP}/robot-arg-common.txt", "--argumentfile", "${env:TEMP}/robot-arg-selected.txt", "--argumentfile", "${env:TEMP}/robot-arg-computed.txt" ], "presentation": { "hidden": true }, "attachPython": true, // See https://github.com/robotcodedev/robotcode/issues/113 "pythonConfiguration"…