Change debug port in Visual Studio Code

Hello everyone,

I just started using Ionic and so far it goes well especially once debugging through VSC works.

There is only one problem I can’t solve.

By default when debugging app is served on port 8080. I need to change it to specific port. From terminal I use

ionic serve -p 4200

But how to setup this for debugging? In launch.json adding port parameter in configuration doesn’t help.

Thanks in advance