Hi everyone, im new on Ionic development. I have seen a lot of tutorials and topics on how debug ionic app on ios emulator, but it doesn
t work for me.
This is my launch.json
{
“name”: “Run iOS on simulator”,
“cwd”: “${cwd}”,
“type”: “cordova”,
“request”: “launch”,
“platform”: “ios”,
“target”: “emulator”,
“sourceMaps”: true
},
{
“name”: “Attach to running iOS on simulator”,
“cwd”: “${cwd}”,
“type”: “cordova”,
“request”: “attach”,
“platform”: “ios”,
“target”: “emulator”,
“port”: 9221,
“sourceMaps”: true
}
When I run the ios simulator, I open terminal and run ios_webkit_debug_proxy:
Listing devices on :9221
Connected :9224 to SIMULATOR (SIMULATOR)
So I change the port on the json “Attach to running iOS on simulator” process and try to attach the process.
I can see the application logs, but the aplications breakpoints doens`t work.
Thanks.