pulumi/docs/debugging/providers-and-languages.md

20 lines
607 B
Markdown

# Providers and Languages
Languages and providers run as their own executables, so debugging isn't as
simple as attaching to the engine.
Instead you'll have to launch them in a debugger and provide the information
for connecting to them to the engine via environmental variables.
## Languages
Languages work very similary to [Providers](#Providers).
Instead of PULUMI_DEBUG_PROVIDERS environmental variable, you use PULUMI_DEBUG_LANGUAGES like so:
```sh
PULUMI_DEBUG_LANGUAGES="go:12345" pulumi preview
```
After opening your language executable (eg `pulumi-language-go`) in your debugger of choice.