Ismoh / noita-vscode-debugger

Noita VSCode Lua Debugger
MIT License
1 stars 0 forks source link

Noita VSCode Debugger

Noita VSCode Debugger is a mod for Noita that allows you to debug your Lua code using VSCode.

BUT unfortunately you cannot debug Noita Lua Components, because necessary functions are not available in that Lua context.

10 bullet points to debug Noita

  1. Install Noita from Steam
  2. Install lldebugger as VSCode extension and make sure to let some love to the author by giving a star to the project.
  3. Download noita-vscode-debugger mod and\ go to C:\Program Files (x86)\Steam\steamapps\common\Noita\mods\ and extract it there. need help?
  4. Open your current own project in VSCode and add the following to your launch.json file: launch.json
  5. Double check if "cwd" needs to be changed to Noita installation path. need help?
  6. Press F5 to start debugging.
  7. Make sure noita-vscode-debugger mod is enabled in the mod list\ and above any other mod that you want to debug.
  8. Enable unsafe mode in Noita\ need help? and still no clue? unsafe-mode-enabled-screenshot
  9. Click on Start a new game with enabled mods active\ or click on Continue if you already have a save file with the mod enabled\ or finally click on New Game.
  10. Enjoy debugging!

Didn't work? Take a look on In case of issues.

Help

Need help with the debugger itself? Go ahead!

Need help reading the logs? Go ahead!\ I am using powershell:

cd 'C:\Program Files (x86)\Steam\steamapps\common\Noita'; Get-Content -Path "logger.txt" -Wait

In case of issues

Still no luck?\ Go ahead to Discord forum!