Skip to content

Commit bdb5203

Browse files
committed
Create.
1 parent 434b83e commit bdb5203

1 file changed

Lines changed: 88 additions & 0 deletions

File tree

Debugger.sublime-project

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"folders":
3+
[
4+
{
5+
"path": ".",
6+
}
7+
],
8+
"debugger_configurations":
9+
[
10+
{
11+
"name": "Python Debugger: Attach remote debug.",
12+
"type": "python",
13+
"request": "attach",
14+
"connect": {
15+
"host": "localhost",
16+
"port": 5678
17+
},
18+
"justMyCode" : false,
19+
},
20+
{
21+
"name": "Python Debugger: WSL2 Attach remote debug.",
22+
"type": "python",
23+
"request": "attach",
24+
"connect": {
25+
// My WSL2 IP Adress
26+
"host": "",
27+
"port": 5678
28+
},
29+
"justMyCode" : false,
30+
},
31+
{
32+
"name" : "Python Debugger: Attach using process Id",
33+
"type" : "python",
34+
"request" : "attach",
35+
"selector": "source.python | text.html.python",
36+
"debugServer": 5678,
37+
// At startup, check.
38+
"processId": "",
39+
"pathMappings": [{
40+
"localRoot": "${workspaceFolder}",
41+
"remoteRoot": "."
42+
}],
43+
"justMyCode" : false,
44+
},
45+
{
46+
"name": "Python Debugger: Current File",
47+
"type": "sublime",
48+
"platform": "windows",
49+
"request": "launch",
50+
"selector": "source.python | text.html.python",
51+
"program": "\\${file}",
52+
"console": "integratedTerminal",
53+
"justMyCode" : false,
54+
},
55+
]
56+
"debugger_tasks" : [
57+
{
58+
"name" : "Python Debugger run task",
59+
"type" : "python",
60+
"settings": {
61+
"enabled": true,
62+
"command":
63+
[
64+
"C:/Users/user/scoop/apps/python/current/python.exe", "$file"
65+
],
66+
"selector": "source.python | text.html.python",
67+
},
68+
"platform": "windows",
69+
"file_regex": "^\\s*File \"(...*?)\", line ([0-9]*)",
70+
"PYTHONIOENCODING": "utf-8",
71+
},
72+
{
73+
"name": "Python Debug Symbols",
74+
"type" : "python",
75+
"settings": {
76+
"enabled": true,
77+
"command":
78+
[
79+
"C:/Users/user/scoop/apps/python/current/python.exe", "-D", "$file"
80+
],
81+
"selector": "source.python | text.html.python",
82+
},
83+
"platform": "windows",
84+
"file_regex": "^\\s*File \"(...*?)\", line ([0-9]*)",
85+
"PYTHONIOENCODING": "utf-8",
86+
}
87+
]
88+
}

0 commit comments

Comments
 (0)