summaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json46
1 files changed, 38 insertions, 8 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 9e1925d..faec480 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -9,22 +9,52 @@
"type": "python",
"request": "launch",
"program": "pacman.py",
- "args": ["-p",
- "ReflexAgent",
- "-l",
- "testClassic"
- ]
+ "cwd": "${workspaceFolder}/src",
+ "args": [
+ "-p",
+ "ReflexAgent",
+ "-l",
+ "testClassic"
+ ]
},
{
"name": "autograder",
"type": "python",
"request": "launch",
"program": "autograder.py",
+ "cwd": "${workspaceFolder}/src",
"args": [
- "-q",
- "q2",
- "--no-graphics"
+ "${input:question}",
+ "${input:graphics}",
+ "--student-code=multiAgents.py",
]
}
+ ],
+ "inputs": [
+ {
+ "type": "pickString",
+ "id": "question",
+ "description": "Select a question to debug",
+ "default": "",
+ "options": [
+ "",
+ "--question=q1",
+ "--question=q2",
+ "--question=q3",
+ "--question=q4",
+ "--question=q5",
+ "--question=extra",
+ ]
+ },
+ {
+ "type": "pickString",
+ "id": "graphics",
+ "description": "Skip graphics?",
+ "default": "--no-graphics",
+ "options": [
+ "",
+ "--no-graphics",
+ ]
+ },
]
} \ No newline at end of file