deltachat / deltachat-desktop-dev-env

a wip/protoype of an deltachat desktop development enviroment
3 stars 0 forks source link

vscode: start electron in debugger.. #4

Closed Simon-Laux closed 4 years ago

Simon-Laux commented 5 years ago

.. instead of needing to attach to it. in https://github.com/Simon-Laux/deltachat-desktop-dev-env/blob/master/.vscode/launch.json.old you can find my try on it. But it was behaving strangely: electron couldn't require it's own npm module when launched this way by lldb.

Simon-Laux commented 4 years ago

I tried again and it looks like its has to do with the codelldb extension. I filed an issue there to ask for help on this https://github.com/vadimcn/vscode-lldb/issues/225. My internet searching wasn't as successful, because my results was littered with countless unrelated beginner questions for electron. In the worst case we'd need to setup remote debugging to make this work.