#10937·graphql

Multiple RW apps all use the same debug port

Author: TobbeCreated Jul 11, 2024Updated Sep 9, 2026
Labelsgood first issuetopic/cli

What's not working?

If you just try to simultaneously run two RW apps the second one won't start because the 8910 and 8911 ports are already taken. So you go and update your redwood.toml file to run your second app on 8912 and 8913. Now everything starts up just fine

The problem though is that they both launch with --debug-port 18911. That port should probably default to '1' + ${apiPort} to reduce the risk of conflicting ports.

I noticed this when running ps aux | grep rw-

First app, api side running on :8911 image

Second app, api side running on :8913 image

Notice how they both have the same debug port

How do we reproduce the bug?

See above. Run two RW apps at the same time.

Are you interested in working on this?

  • I'm interested in working on this