File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 22 "version" : " 0.2.0" ,
33 "configurations" : [
44 {
5- "name" : " Attach to Kubernetes Pod (Python)" ,
5+ "name" : " Attach to Kubernetes Pod (Python) - Namespace: default " ,
66 "type" : " cloudcode.kubernetes" ,
77 "request" : " attach" ,
88 "language" : " Python" ,
99 "debugPort" : 3000 ,
10+ // The podSelector is used to specify the criteria for selecting the Kubernetes pod to attach to.
1011 "podSelector" : {
1112 "app" : " deployment-name"
1213 },
1314 "localRoot" : " ${workspaceFolder}" ,
14- "remoteRoot" : " ${workspaceFolder}/ remote"
15+ "remoteRoot" : " /path/to/actual/ remote/directory "
1516 },
1617 {
17- "name" : " Node.js: Current File" ,
18+ "name" : " Node.js: Current File (Development Environment) " ,
1819 "type" : " node" ,
1920 "request" : " launch" ,
21+ // The program property refers to the currently active file in the editor.
2022 "program" : " ${file}" ,
2123 "runtimeArgs" : [
2224 " -r" ,
2325 " ts-node/register"
2426 ],
2527 "cwd" : " ${workspaceFolder}" ,
2628 "console" : " integratedTerminal" ,
27- "internalConsoleOptions" : " neverOpen"
2829 }
29- ],
30- "extensions" : [
31- " ms-vscode.node-debug2" ,
32- " ms-vscode.node-debug"
3330 ]
3431}
You can’t perform that action at this time.
0 commit comments