I am developing a drupal 10 site with ddev in my ubuntu machine on process for overriding html.twig template in my bootstrap sub theme during debugging FILE NAME SUGGESTIONS shows name links--contextual.html.twig.I copied themes/contrib/bootstrap/templates/system/links.html.twig file and paste it in my sub theme path with renaming it as suggested to web/themes/custom/my_bootstrap_subtheme/templates/links--contextual.html.twig, But this process not override the html.twig file. I encountered with this issues. links--contextual.html.twig file doesn't override links.html.twig.
I tried several other ways like checked file permissions and ownership, direct override, file renamimg with links.html.twig and links--contextual.html.twig,ensured Correct Naming and Path, Clear Drupal Cache, make a minor change for verification on twig file, checked the frontend, checked template suggestions, checked sub-theme activation, manually inspected the directories and file permissions to ensure that everything is as expected.