File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 358358 }
359359 ],
360360 "commands" : [
361+ {
362+ "command" : " pymakr.showDebugMenu" ,
363+ "title" : " Shows debugging menu" ,
364+ "category" : " PyMakr"
365+ },
361366 {
362367 "command" : " pymakr.openOnDevice" ,
363368 "title" : " Open file on device" ,
Original file line number Diff line number Diff line change @@ -38,6 +38,19 @@ class Commands {
3838 }
3939
4040 commands = {
41+ // debugPrintAdapterQueue: () => {
42+ // this.pymakr.devicesStore.get().forEach((device) => console.log(device.name, device.adapter.__proxyMeta));
43+ // },
44+ showDebugMenu : async ( ) => {
45+ const options = {
46+ "log adapter queue" : "log adapter queue" ,
47+ } ;
48+ const result = await vscode . window . showQuickPick ( Object . keys ( options ) ) ;
49+
50+ if ( result === options [ "log adapter queue" ] )
51+ this . pymakr . devicesStore . get ( ) . forEach ( ( device ) => console . log ( device . name , device . adapter . __proxyMeta ) ) ;
52+ } ,
53+
4154 /**
4255 *
4356 * @param {vscode.Uri } file
You can’t perform that action at this time.
0 commit comments