cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to use different ports in Business Application Studio for CAP Node.js application?

Ren
Product and Topic Expert
Product and Topic Expert
0 Likes
5,916

Hi,

I want to run a very basic CAP application in the Business Application Studio twice at the same time; one with the development profile using file-based SQLite and one with the production profile using SAP HANA Cloud.

There is the `--port` option in the cds-dk, but I can't seem to use it in the studio. Not using the terminal and not using the run configuration (launch.json).

Does anyone have a hint how to achieve that?

Thanks,

René

Accepted Solutions (1)

Accepted Solutions (1)

liat_b
Product and Topic Expert
Product and Topic Expert

Hi Rene,

You can configure the launch.json in the following way ( in this example to use port 4003):

Thanks,

Liat

Ren
Product and Topic Expert
Product and Topic Expert
0 Likes

Thanks a lot Liat! 🙂

crissvu
Discoverer
0 Likes

Hello, how can I open it?

Answers (0)