scratch-console icon indicating copy to clipboard operation
scratch-console copied to clipboard

Make the DEVTOOLS_PORT a configuration option

Open mikeptweet opened this issue 3 years ago • 4 comments

This is a great application. Thanks you for sharing it. Would it be possible to make the const DEVTOOLS_PORT configurable so that I can choose which port to listen on? Maybe via the command line or via a config file?

mikeptweet avatar Jun 07 '22 08:06 mikeptweet

That would require adding a preferences window, that's a lot of work. Any specific reason why you want to configure the port ?

Subash avatar Jun 25 '22 12:06 Subash

Maybe it could be taken from an environment variable that you just have to document? If the variable doesn't exist, go with the default :-)

mikeptweet avatar Jun 25 '22 16:06 mikeptweet

Maybe it could be taken from an environment variable that you just have to document? If the variable doesn't exist, go with the default :-)

Sounds reasonable.

Subash avatar Oct 10 '22 04:10 Subash

Any chance you could do a more recent built with this feature ... please :-) And maybe update Electron?

... thank you

mikeptweet avatar Oct 10 '22 08:10 mikeptweet