Skip to content

Commit b1f3e76

Browse files
committed
refactor: remove debugging infos
1 parent dbd7a05 commit b1f3e76

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.vscode/launch.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,15 @@
77
{
88
"type": "node",
99
"request": "launch",
10-
"cwd": "/Users/tachev/Work/Test/debugTest",
10+
"cwd": "${workspaceRoot}",
1111
"sourceMaps": true,
1212
// In case you want to debug child processes started from CLI:
1313
// "autoAttachChildProcesses": true,
1414
"name": "Launch CLI (Node 6+)",
1515
"program": "${workspaceRoot}/lib/nativescript-cli.js",
16+
1617
// example commands
17-
"args": [
18-
"debug",
19-
"ios",
20-
"--debug-brk"
21-
]
18+
"args": [ "create", "cliapp"]
2219
// "args": [ "test", "android", "--justlaunch"]
2320
// "args": [ "platform", "add", "[email protected]", "--path", "cliapp"]
2421
// "args": [ "platform", "remove", "android", "--path", "cliapp"]
@@ -41,6 +38,7 @@
4138
"cwd": "${workspaceRoot}",
4239
"sourceMaps": true
4340
},
41+
4442
{
4543
"type": "node",
4644
"runtimeArgs": [
@@ -53,8 +51,11 @@
5351
"sourceMaps": true,
5452
// define the arguments that you would like to pass to CLI, for example
5553
// "args": [ "build", "android", "--justlaunch" ]
56-
"args": []
54+
"args": [
55+
56+
]
5757
},
58+
5859
{
5960
// in case you want to debug a single test, modify it's code to be `it.only(...` instead of `it(...`
6061
"type": "node",
@@ -67,6 +68,7 @@
6768
"cwd": "${workspaceRoot}",
6869
"sourceMaps": true
6970
},
71+
7072
{
7173
"type": "node",
7274
"request": "attach",
@@ -75,6 +77,7 @@
7577
"port": 9897,
7678
"sourceMaps": true
7779
},
80+
7881
{
7982
"type": "node",
8083
"request": "attach",
@@ -84,5 +87,6 @@
8487
"port": 9855,
8588
"sourceMaps": true
8689
}
90+
8791
]
8892
}

lib/device-sockets/ios/socket-proxy-factory.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ export class SocketProxyFactory extends EventEmitter implements ISocketProxyFact
166166
});
167167

168168
this.$logger.info("Opened localhost " + localPort);
169-
console.log("return new proxy");
170169
return server;
171170
}
172171

lib/device-sockets/ios/socket-request-executor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export class IOSSocketRequestExecutor implements IiOSSocketRequestExecutor {
77
private $logger: ILogger) { }
88

99
public async executeAttachRequest(device: Mobile.IiOSDevice, timeout: number, projectId: string): Promise<void> {
10-
console.log("executeAttachRequest");
1110
const deviceIdentifier = device.deviceInfo.identifier;
1211

1312
const observeNotificationSockets = [

0 commit comments

Comments
 (0)