Conversation
There was a problem hiding this comment.
For testing these debug configurations, I set breakpoints in the adapter read functions and tested it that way.
For tiled_config_serve, with a breakpoint set on the gb file read adapter function, if I open a gb file, it hits the breakpoint correctly. Which is perfect so far. If I go back to the list view of files, and open the same file immediately, the breakpoint doesn't get triggered. I wonder if this is a thing with our adapter or tiled; maybe if the same file is opened consecutively, it's not read twice but maybe some history is retained. But this is something I wanted to bring to attention if it's not a known thing.
|
Thanks for looking at this and testing. I updated the input descriptions to instruct users to copy values from .env without quotes. |

This PR adds a VS Code configuration for debugging the
tiled registerprocess. It requires an already running Tiled server instance and the parameters specified within the input prompts need to match the configuration from that running process.The added launch configuration is equivalent to the script under tiled/tiled_catalog_register.sh
The reasons for not retrieving these parameters from environment variables (as in the script linked above) are explained in #10. In short, environment variables are resolved only after the launch configuration is assembled and can thus not be used within the command.
This PR also resolves #10, and includes an update to the
tiled servedebug configuration.