Skip to content

Commit 9efbfcb

Browse files
committed
Added self-test launch entry
1 parent e4303f7 commit 9efbfcb

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

.vscode/launch.json

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,46 @@
2222
"CPAI_PORT": "32168"
2323
},
2424

25-
"python": "${workspaceFolder}\\bin\\windows\\python39\\venv\\Scripts\\python.exe",
25+
"python": "${workspaceFolder}/bin/windows/python39/venv/Scripts/python.exe",
2626
"windows": {
2727
"python": "${workspaceFolder}/bin/windows/python39/venv/Scripts/python.exe"
2828
},
2929
"linux": {
30-
// "python": "${workspaceFolder}/../../CodeProject.AI-Server/runtimes/bin/ubuntu/python39/venv/bin/python",
31-
"python": "${workspaceFolder}/../../CodeProject.AI-Server/runtimes/bin/debian/python39/venv/bin/python",
30+
// "python": "${workspaceFolder}/bin/ubuntu/python39/venv/bin/python",
31+
"python": "${workspaceFolder}/bin/debian/python39/venv/bin/python",
32+
},
33+
"osx": {
34+
"python": "${workspaceFolder}/bin/macos/python39/venv/bin/python",
35+
}
36+
},
37+
{
38+
"presentation": {
39+
"group": "Start",
40+
"hidden": false
41+
},
42+
43+
"name": "Test Text2Image",
44+
"type": "debugpy",
45+
"justMyCode": false,
46+
"request": "launch",
47+
"program": "stable_diffusion_adapter.py",
48+
"args": [ "--selftest" ],
49+
"console": "integratedTerminal",
50+
"cwd": "${workspaceFolder}",
51+
52+
"env": {
53+
"RUNNING_IN_VSCODE": "True",
54+
// "CPAI_LOG_VERBOSITY": "Loud",
55+
"CPAI_PORT": "32168"
56+
},
57+
58+
"python": "${workspaceFolder}/bin/windows/python39/venv/Scripts/python.exe",
59+
"windows": {
60+
"python": "${workspaceFolder}/bin/windows/python39/venv/Scripts/python.exe"
61+
},
62+
"linux": {
63+
// "python": "${workspaceFolder}/bin/ubuntu/python39/venv/bin/python",
64+
"python": "${workspaceFolder}/bin/debian/python39/venv/bin/python",
3265
},
3366
"osx": {
3467
"python": "${workspaceFolder}/bin/macos/python39/venv/bin/python",

0 commit comments

Comments
 (0)