Skip to content

Commit 495cf65

Browse files
committed
move set address to translateArgs
1 parent 99e7030 commit 495cf65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/debug-adapter/nativeScriptDebugAdapter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ export class NativeScriptDebugAdapter extends ChromeDebugAdapter {
148148
(ChromeDebugAdapter as any).SET_BREAKPOINTS_TIMEOUT = 20000;
149149

150150
this.isLiveSync = args.watch;
151-
transformedArgs.address = this.getNormalizedAddress(transformedArgs.address, args.platform.toLowerCase());
152151

153152
return super.attach(transformedArgs);
154153
}
@@ -230,6 +229,8 @@ export class NativeScriptDebugAdapter extends ChromeDebugAdapter {
230229
args.sourceMapPathOverrides = {};
231230
}
232231

232+
args.address = this.getNormalizedAddress(args.address, args.platform.toLowerCase());
233+
233234
const appDirPath = this.getAppDirPath(args.webRoot) || (this.isAngularProject(args.webRoot) ? 'src' : 'app');
234235
const fullAppDirPath = join(args.webRoot, appDirPath);
235236

0 commit comments

Comments
 (0)