Logpoints for VS Code

  03 Aug 2023   1 min read

Quokka Pro for VS Code now supports Logpoints, allowing breakpoints to be used to log values. Logpoints allow you to display the value of any expression without modifying your code, by simply placing a breakpoint next to the expression you want to log.

  • Breakpoints for Logging: Simply place a 🔴 breakpoint on a line (F9) or next to an expression (⇧ F9) to log its value.
  • No debugger required: Logpoints require zero setup / configuration and works seamlessly using Quokka’s existing runtime.
  • Effortless Management: No need to modify your source code; Logpoints can be added/removed with existing keyboard shortcuts.
  • Seamless Integration with VS Code: Logpoints persist when files are closed and reopened, and are managed by VS Code.
  • Clear Visual Indicators: Easily see and understand what’s being logged, especially when using inline breakpoints.

The Logpoints feature was inspired by similar functionality in our other product, Console Ninja; if you haven’t already tried Console Ninja, it’s worth checking out.

Change to Default Settings: Please note that the default value of the Show Value on Selection setting has been changed from true to false. This adjustment reflects our belief that users will prefer the new Logpoints feature, and those who wish to continue using this feature alongside or instead of Logpoints may re-enable it.