File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import ast
66import importlib .metadata
77import inspect
8+ import json
89import os
910import sys
1011from os .path import realpath
@@ -144,6 +145,9 @@ def __init__(self):
144145 if "labels" in self ._config :
145146 self .labels .append (self ._config ["labels" ])
146147
148+ def __repr__ (self ):
149+ return json .dumps (self ._config ["packages" ])
150+
147151 @property
148152 def name (self ):
149153 return self ._config ["name" ]
@@ -483,6 +487,7 @@ def initialize():
483487 # pylint: disable=protected-access
484488 c ._load_config (show_warnings = True )
485489 logger .info ("file: %s" , c ._file if c .file_present else "[no appmap.yml]" )
490+ logger .info ("config: %r" , c )
486491 logger .debug ("package_functions: %s" , c .package_functions )
487492 logger .info ("env: %r" , os .environ )
488493 os .environ ["_APPMAP_MESSAGES_SHOWN" ] = "true"
You can’t perform that action at this time.
0 commit comments