PinspectPort
Bun

property

test.default.RunOptions.inspectPort

inspectPort?: number | () => number

Sets inspector port of test child process. This can be a number, or a function that takes no arguments and returns a number. If a nullish value is provided, each process gets its own port, incremented from the primary's process.debugPort. This option is ignored if the isolation option is set to 'none' as no child processes are spawned.