Skip to content

How to launch a script before run/debug ? #373

Closed Answered by raphaelcamus
raphaelcamus asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for quick reply. robot.toml sound 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"

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@raphaelcamus
Comment options

Answer selected by raphaelcamus
@d-biehl
Comment options

@raphaelcamus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants