cancel
Showing results for 
Search instead for 
Did you mean: 

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

René
Product and Topic Expert
Product and Topic Expert
0 Kudos

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
Employee
Employee

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 Kudos

Thanks a lot Liat! 🙂

Answers (0)