You need to open Core, Settings -> Options -> Open configuration file. It will open your bitcoin.conf, which Core is using.
I already know the location of the bitcoin.conf file. I once edited the file when I tried to create a legacy address (P2PKH) on Bitcoin Core
(
https://bitcointalk.org/index.php?topic=5196950.msg53531187%20#post_point8)
But at that time I had never seen a .cookie file in the same directory as the bitcoin.conf file.
When you enable RPC (without a password), it creates the file automatically. -snip-
In the same directory, you will see the .cookie file if you already enabled RPC and restarted Core.
I tried removing the password on RPC and restarted Bitcoin Core. I saw the .cookie file created automatically in that folder.
The .cookie file disappears when Bitcoin Core is closed. It's like a temporary file.
Get that same directory and use it on the "Directory" field on bwt.
I have changed the directory and get the following error message when running Electrum (bwt) with Bitcoin Core at the same time.