File tree Expand file tree Collapse file tree 2 files changed +32
-32
lines changed
tests/robotcode/language_server/robotframework/parts/data/.vscode Expand file tree Collapse file tree 2 files changed +32
-32
lines changed Original file line number Diff line number Diff line change 55 "version" : " 0.2.0" ,
66 "configurations" : [
77 {
8- "name" : " RobotCode: Two Same " ,
8+ "name" : " RobotCode: Run Current " ,
99 "type" : " robotcode" ,
1010 "request" : " launch" ,
1111 "cwd" : " ${workspaceFolder}" ,
12- //"target": "./tests/playground.robot ./tests/playground.robot"
13- "args" : [
14- " ./tests/extras" ,
15- " ./tests/extras"
16- ]
12+ "target" : " ${file}"
1713 },
1814 {
19- "name" : " RobotCode: Run Current " ,
15+ "name" : " RobotCode: Run All " ,
2016 "type" : " robotcode" ,
2117 "request" : " launch" ,
2218 "cwd" : " ${workspaceFolder}" ,
23- "target" : " ${file}" ,
24- "launcherArgs" : [
25- " -d" ,
26- " -dp" ,
27- " 5678" ,
28- " -dw"
29- ],
30- //"attachPython": true,
31- "pythonConfiguration" : {
32- "justMyCode" : false
33- },
34- "env" : {
35- "FIRST" : " value"
36- }
19+ "target" : " ."
3720 },
3821 {
39- "name" : " RobotCode: Dry Run Current " ,
22+ "name" : " RobotCode: Default " ,
4023 "type" : " robotcode" ,
4124 "request" : " launch" ,
42- "cwd" : " ${workspaceFolder}" ,
43- "target" : " ${file}" ,
44- "attachPython" : true ,
45- "dryRun" : true ,
46- "pythonConfiguration" : {
47- "justMyCode" : false
48- }
25+ "purpose" : " default" ,
26+ "presentation" : {
27+ "hidden" : true
28+ },
29+ "attachPython" : false ,
30+ "pythonConfiguration" : " RobotCode: Python"
4931 },
5032 {
51- "name" : " RobotCode: Run All " ,
33+ "name" : " RobotCode: Default " ,
5234 "type" : " robotcode" ,
5335 "request" : " launch" ,
54- "cwd" : " ${workspaceFolder}" ,
55- "target" : " ."
36+ "purpose" : " test" ,
37+ "presentation" : {
38+ "hidden" : true
39+ },
40+ "attachPython" : false ,
41+ "pythonConfiguration" : " RobotCode: Python" ,
42+ //"target": "asd"
43+ },
44+ {
45+ "name" : " RobotCode: Python" ,
46+ "type" : " python" ,
47+ "request" : " attach" ,
48+ "presentation" : {
49+ "hidden" : true
50+ },
51+ "justMyCode" : false
5652 }
5753 ]
5854}
Original file line number Diff line number Diff line change @@ -378,6 +378,10 @@ export class DebugManager {
378378 ( v ?. purpose === "test" || ( Array . isArray ( v ?. purpose ) && v ?. purpose ?. indexOf ( "test" ) > - 1 ) )
379379 ) ?? { } ;
380380
381+ if ( ! ( "target" in testLaunchConfig ) ) {
382+ testLaunchConfig . target = "" ;
383+ }
384+
381385 const paths = config . get ( "robot.paths" , [ ] ) ;
382386
383387 return vscode . debug . startDebugging (
You can’t perform that action at this time.
0 commit comments