UXP Debugger for VSCode 2.0 is now available! (no UDT dependency)

I created new version 2.0 of UXP Debugger for VSCode.

Changes:

  • does not need UDT at all (no patching)
  • has its own UI panel to manage plugins (e.g. load and unload)
  • supports script files (.psjs, .idjs, .ccjs, .js, .ts)
  • along with inlined sourcemaps now it also supports external sourcemaps from .map file
  • you can run and debug TypeScript script files directly without any build step (does not apply to plugins)
  • has its own built-in UI inspector forked from most recent Chrome DevTools
  • supports debugging multiple plugins at the same time
  • adds refresh to reload UI
  • adds reload to unload + load plugin + attach debugger back. So it applies manifest, icon or hybrid plugin change
  • adds watch mode that performs reload or refresh automatically based on where it detects change (e.g. change plugin name in manifest and you see it instantly)
  • exposes REST API hooks for your build tools to manage plugin if you need fine tuned control from your bundler or automate plugin management
  • adds AI tools so AI can load plugin, set breakpoint, jump to it and read values in variables at that breakpoint
  • improved automatic source map detection
  • and much more

Get it here: UXP Debugger - Visual Studio Marketplace

Best news since forever! thank you Jarda, our saviour!

Here is a detailed video on how to use

:high_voltage: If your source maps did not map correctly with UXP Debugger for VS Code and you used UXP Bolt, please update “Bolt UXP” version 1.3.26 or higher. Together with Justin Taylor we found that issue and fixed it. :wink:

In last update (v2.3.0), I improved

  • source maps matching, now it should be able to pair even more source maps
  • in output panel in VS Code it will show you how many source maps it wasn’t able to pair with source files and its file paths
  • now it uses log levels in output so you can filter it out and “debug” level is turned off by default and can be changed in VS Code settings
  • improved security, performance and memory management
  • improved stability, under certain conditions it could crash host app while debugging scripts or plugins that was loaded with “break on start” option

If you did not disable automatic updates, you already have this version by default.