// This file is a template and is automatically generated by the setup_vscode.py script. // Do not edit this file directly. // // Generated from: /scratch/users/create/smrvmdo/projects/Dream/IsaacLab/.vscode/tools/launch.template.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Python: Current File", "type": "python", "request": "launch", "program": "${file}", "console": "integratedTerminal" }, // Attach to listening debugpy // Usage (VSCode but should be similar for other IDEs): // 1. Set your breakpoints // 2. Run your code under debugpy like so: // ./isaaclab.sh -p -m debugpy --listen 3000 --wait-for-client -c "from isaaclab.cli import cli; cli()" [cli_args] // 3. Select this "Python: Debugger Attach" configuration and press green play button or F5 { "name": "Python: Debugger Attach", "type": "python", "request": "attach", "port": 3000, "host": "localhost" }, { "name": "Python: Train Environment", "type": "python", "request": "launch", "args" : ["--task", "Isaac-Reach-Franka-v0", "--headless"], "program": "${workspaceFolder}/scripts/reinforcement_learning/rsl_rl/train.py", "console": "integratedTerminal" }, { "name": "Python: Play Environment", "type": "python", "request": "launch", "args" : ["--task", "Isaac-Reach-Franka-v0", "--num_envs", "32"], "program": "${workspaceFolder}/scripts/reinforcement_learning/rsl_rl/play.py", "console": "integratedTerminal" }, { "name": "Python: SinglePytest", "type": "python", "request": "launch", "module": "pytest", "args": [ "${file}" ], "console": "integratedTerminal" }, { "name": "Python: ALL Pytest", "type": "python", "request": "launch", "module": "pytest", "args": ["source/isaaclab/test"], "console": "integratedTerminal", "justMyCode": false } ] }