NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 195 forks source link

fix host localhost for debug ios #5788

Closed vallemar closed 9 months ago

vallemar commented 9 months ago

This solves the problem we had debugging in vscode on ios. The problem was that when an address was not set the plugin used 127.0.0.1 when forcing localhost it worked, but now I am migrating the old vscode-chrome-debug-core to vscode-cdp-proxy which uses ws below and when using the localhost address it resolves it as 127.0.0.1 and the cli does not accept the connection. I have tried chromeDevTool and it still works with this change

rigor789 commented 9 months ago

I guess it defaults to 0.0.0.0 if it's omitted, which should be fine.