File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ export class DebugConfigurationFactory {
131
131
const swiftVersion = this . ctx . workspaceContext . toolchain . swiftVersion ;
132
132
if (
133
133
swiftVersion . isLessThan ( new Version ( 5 , 7 , 0 ) ) &&
134
- swiftVersion . isGreaterThanOrEqual ( new Version ( 5 , 6 , 0 ) )
134
+ swiftVersion . isGreaterThanOrEqual ( new Version ( 5 , 6 , 0 ) ) &&
135
+ process . platform === "darwin"
135
136
) {
136
137
// if debugging on macOS with Swift 5.6 we need to create a custom launch
137
138
// configuration so we can set the system architecture
@@ -226,9 +227,6 @@ export class DebugConfigurationFactory {
226
227
if ( this . ctx . swiftPackage . getTargets ( TargetType . test ) . length === 0 ) {
227
228
return null ;
228
229
}
229
- if ( process . platform !== "darwin" ) {
230
- return null ;
231
- }
232
230
233
231
let testFilterArg : string ;
234
232
const testList = this . testList . join ( "," ) ;
You can’t perform that action at this time.
0 commit comments