You can attach gdb to any process. Debug information is not needed unless you want nice things like knowing which lines of code you are stepping through.
Then as above you dont really need to understand the memory or variables with debug symbols (though on Linux they generally are available.. and increasingly on the newest distros will automatically be downloaded by debuginfod). You can jsut grep for the text you are looking for and likely it's roughly together in memory.