Skip to content

Commit beba721

Browse files
committed
fix: add launch.template.json
1 parent 8305cb2 commit beba721

1 file changed

Lines changed: 66 additions & 0 deletions

File tree

.vscode/tools/launch.template.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
// For standalone script execution
8+
{
9+
"name": "Python: Current File",
10+
"type": "debugpy",
11+
"request": "launch",
12+
"program": "${file}",
13+
"console": "integratedTerminal",
14+
},
15+
{
16+
"name": "Python: Train Environment",
17+
"type": "debugpy",
18+
"request": "launch",
19+
"args" : ["--task", "RobotLab-Isaac-Velocity-Flat-Anymal-D-v0", "--num_envs", "4096", "--headless"],
20+
"program": "${workspaceFolder}/scripts/rsl_rl/train.py",
21+
"console": "integratedTerminal",
22+
},
23+
{
24+
"name": "Python: Play Environment",
25+
"type": "debugpy",
26+
"request": "launch",
27+
"args" : ["--task", "RobotLab-Isaac-Velocity-Flat-Anymal-D-Play-v0", "--num_envs", "32"],
28+
"program": "${workspaceFolder}/scripts/rsl_rl/play.py",
29+
"console": "integratedTerminal",
30+
},
31+
32+
// For script execution inside a Docker
33+
{
34+
"name": "Docker: Current File",
35+
"type": "debugpy",
36+
"request": "launch",
37+
"program": "${file}",
38+
"console": "integratedTerminal",
39+
"env": {
40+
"PYTHONPATH": "${env:PYTHONPATH}:${workspaceFolder}"
41+
}
42+
},
43+
{
44+
"name": "Docker: Train Environment",
45+
"type": "debugpy",
46+
"request": "launch",
47+
"args" : ["--task", "RobotLab-Isaac-Velocity-Flat-Anymal-D-v0", "--num_envs", "4096", "--headless"],
48+
"program": "${workspaceFolder}/scripts/rsl_rl/train.py",
49+
"console": "integratedTerminal",
50+
"env": {
51+
"PYTHONPATH": "${env:PYTHONPATH}:${workspaceFolder}"
52+
}
53+
},
54+
{
55+
"name": "Docker: Play Environment",
56+
"type": "debugpy",
57+
"request": "launch",
58+
"args" : ["--task", "RobotLab-Isaac-Velocity-Flat-Anymal-D-Play-v0", "--num_envs", "32"],
59+
"program": "${workspaceFolder}/scripts/rsl_rl/play.py",
60+
"console": "integratedTerminal",
61+
"env": {
62+
"PYTHONPATH": "${env:PYTHONPATH}:${workspaceFolder}"
63+
}
64+
}
65+
]
66+
}

0 commit comments

Comments
 (0)