Skip to content

Commit d86a718

Browse files
added vscode config for system debugging with an example
1 parent 5675692 commit d86a718

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.vscode/launch.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,23 @@
22
"version": "0.2.0",
33
"configurations": [
44
{
5-
"name": "Python: Current File",
6-
"type": "python",
5+
"name": "Python: Min64x4 Example Test",
6+
"type": "debugpy",
77
"request": "launch",
8-
"program": "${file}",
8+
"program": "${workspaceFolder}/src/bespokeasm/__main__.py",
99
"console": "integratedTerminal",
10-
"justMyCode": true
10+
"justMyCode": true,
11+
"args": [
12+
"compile",
13+
"-c",
14+
"${workspaceFolder}/examples/slu4-minimal-64x4/slu4-minimal-64x4.yaml",
15+
"-n",
16+
"-p",
17+
"${workspaceFolder}/examples/slu4-minimal-64x4/software/primes.min64x4"
18+
],
19+
"env": {
20+
"PYTHONPATH": "${workspaceFolder}/src"
21+
}
1122
}
1223
]
1324
}

0 commit comments

Comments
 (0)