Skip to content

Commit 485cfcc

Browse files
committed
Added vscode/launch,json
1 parent b18639d commit 485cfcc

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.vscode/launch.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"presentation": {
6+
"group": "Start",
7+
"hidden": false
8+
},
9+
10+
"name": "Launch Text2Image",
11+
"type": "debugpy",
12+
"justMyCode": false,
13+
"request": "launch",
14+
"program": "stable_diffusion_adapter.py",
15+
// "args": [ "--selftest" ],
16+
"console": "integratedTerminal",
17+
"cwd": "${workspaceFolder}",
18+
19+
"env": {
20+
"DEBUG_IN_VSCODE": "True",
21+
"RUNNING_IN_VSCODE": "True",
22+
// "CPAI_LOG_VERBOSITY": "Loud",
23+
"CPAI_PORT": "32168"
24+
},
25+
26+
"python": "${workspaceFolder}\\bin\\windows\\python39\\venv\\Scripts\\python.exe",
27+
"windows": {
28+
"python": "${workspaceFolder}/bin/windows/python39/venv/Scripts/python.exe"
29+
},
30+
"linux": {
31+
"python": "${workspaceFolder}/bin/linux/python39/venv/bin/python",
32+
},
33+
"osx": {
34+
"python": "${workspaceFolder}/bin/macos/python39/venv/bin/python",
35+
}
36+
}
37+
]
38+
}

0 commit comments

Comments
 (0)