Skip to content

Commit 43f7b02

Browse files
authored
fix: refresh launch.recommended.json for vs code debugging (#2231)
1 parent 80f272b commit 43f7b02

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

.vscode/launch.recommended.json

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,30 @@
77
],
88
"version": "0.2.0",
99
"configurations": [
10+
{
11+
"name": "Launch consume direct",
12+
"type": "debugpy",
13+
"request": "launch",
14+
"module": "pytest",
15+
"args": [
16+
"-c",
17+
"${workspaceFolder}/src/cli/pytest_commands/pytest_ini_files/pytest-consume.ini",
18+
"src/pytest_plugins/consume/direct/test_via_direct.py",
19+
"--bin",
20+
"${input:evmBinary}",
21+
"--input",
22+
"${input:fixturePath}"
23+
],
24+
"cwd": "${workspaceFolder}"
25+
},
1026
{
1127
"name": "Launch fill --until choose fork",
1228
"type": "debugpy",
1329
"request": "launch",
1430
"module": "pytest",
1531
"args": [
1632
"-c",
17-
"pytest.ini",
33+
"${workspaceFolder}/src/cli/pytest_commands/pytest_ini_files/pytest-fill.ini",
1834
"--until",
1935
"${input:fork}",
2036
"--evm-bin",
@@ -30,7 +46,7 @@
3046
"module": "pytest",
3147
"args": [
3248
"-c",
33-
"pytest.ini",
49+
"${workspaceFolder}/src/cli/pytest_commands/pytest_ini_files/pytest-fill.ini",
3450
"--until",
3551
"Cancun",
3652
"--evm-bin",
@@ -48,7 +64,7 @@
4864
"module": "pytest",
4965
"args": [
5066
"-c",
51-
"pytest.ini",
67+
"${workspaceFolder}/src/cli/pytest_commands/pytest_ini_files/pytest-fill.ini",
5268
"--until",
5369
"Cancun",
5470
"--evm-bin",
@@ -64,7 +80,7 @@
6480
"module": "pytest",
6581
"args": [
6682
"-c",
67-
"pytest.ini",
83+
"${workspaceFolder}/src/cli/pytest_commands/pytest_ini_files/pytest-fill.ini",
6884
"--until",
6985
"Prague",
7086
"--evm-bin",
@@ -128,6 +144,12 @@
128144
"id": "testPathOrId",
129145
"description": "Enter a test path string or id to provide to pytest -k",
130146
"default": "test_"
147+
},
148+
{
149+
"type": "promptString",
150+
"id": "fixturePath",
151+
"description": "Enter a fixture path",
152+
"default": "${workspaceFolder}/fixtures"
131153
}
132154
]
133155
}

0 commit comments

Comments
 (0)