We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1422755 commit f5f44d7Copy full SHA for f5f44d7
src/xinterpreter.cpp
@@ -310,7 +310,12 @@ namespace xpyt
310
"\n");
311
#endif
312
result["banner"] = banner;
313
- result["debugger"] = (PY_MAJOR_VERSION != 3) || (PY_MAJOR_VERSION != 13);
+ bool debugger = (PY_MAJOR_VERSION != 3) || (PY_MAJOR_VERSION != 13);
314
+ result["debugger"] = debugger;
315
+ if (debugger)
316
+ {
317
+ result["supported_features"] = nl::json::array({"debugger"});
318
+ }
319
320
result["language_info"]["name"] = "python";
321
result["language_info"]["version"] = PY_VERSION;
0 commit comments