Elkozel / Meerkat

Suricata/Snort extension for VS Code
https://elkozel.github.io/Meerkat/
GNU General Public License v3.0
0 stars 0 forks source link

Do not run language server with debug logging #6

Closed Elkozel closed 1 year ago

Elkozel commented 1 year ago

Currently, the language server is run with debug logging. We want to remove the additional load of logging everything in production, so we need to remove this for the production env.

Proposal

In file extenssion.ts make so that the executable is run with env RUST_LOG: "debug" only if we are actually debugging with VS code.