Questions tagged [console]
A mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks
console
14,169
questions
-3
votes
0
answers
30
views
Is there a way to make JavaScript vars non user editable for websites?
I have vars in my JavaScript script for a HTML website, and when I go into console on this website I can edit these vars. For example, I have a button which is collected from the HTML into the ...
0
votes
1
answer
30
views
Why code works different at IDE and Console?
I have simple code for locating and clicking button using pyautogui
def click_at_button(button_name, count):
count_tries = 0
while True:
try:
time.sleep(1)
...
0
votes
0
answers
39
views
How do I specify a user secret in a .NET Core console app?
I've created a .NET 8 Console app. I have also created a user secret with a connection string to one of our SQL Server databases, that looks like this:
{ "TTConnectionString": {
"...
-1
votes
0
answers
21
views
play.google.com developer console blocking phone numbers
Does Google currently block registration of developers from Ukraine and from Ukrainian numbers? I live in Ukraine, the city of Kharkiv.
We can't register.
At the moment we cannot register from the ...
0
votes
1
answer
40
views
Python code giving different ouputs for a function call when input taking from the python console or terminal
The following code is generating two different output if executed in console(>>> ) or from a function.py file ($ python3 function.py).
1 def test():
2 print("I am happy")
3 ...
-1
votes
0
answers
28
views
Aditional quotation marks showing in console after using console.log() in Javascript [duplicate]
I'm new to coding and while doing this exercise (about multiplication and loops) my console shows additional double quotation marks when I execute the code BUT only when the code starts with a ...
0
votes
0
answers
8
views
The method 'setTrackingSource' was not found in "_paq" variable
Am getting the below error for the website am trying to setup the Free Version Piwik Pro. The website is made on Wordpress and am currently using the plugin to add the container address and siteID. Am ...
-2
votes
0
answers
42
views
Why is input.value.trim() not returning anything in console? [closed]
So I've been trying to learn js after html and css (beginner). I have a program that I want to update a according to a user input after a button click. I've defined input, button and list variables ...
0
votes
0
answers
24
views
Git output into a document while keeping font colors?
I am trying to take the output of git log --graph --online --all --decorate and put it into a Word Document or PDF. I want to keep the font colors, for obvious reasons since a git commit tree looks ...
0
votes
0
answers
14
views
MSTest Serilog Console issue
I have a library C# project which has services written. This is using serilog and able to print serilogs on console during normal execution. But when I am using same library within my functional test ...
0
votes
0
answers
18
views
Writing to `CONOUT$` on Windows for node.js 22
I am trying to fix a node.js package that writes directly to the console (/dev/tty in Unix-likes) in the case of Windows. It's using some internal bindings, sadly, which means it breaks with different ...
0
votes
0
answers
8
views
Showing calling file+line in console.log of a function [duplicate]
When using console.log("test"), the console will not only show "test" but also the file and line where that code was called from.
How can I accomplish the same effect for my own ...
0
votes
2
answers
48
views
JavaScript variables being called in html tags (button)?
I am following this online free course on YouTube, this is the link if you want to visit it:
"Youtube link", but at around 2:15:00, he shows how to call javascript variables in HTML tags and ...
0
votes
1
answer
39
views
How to get Java console scan 2 strings separated by TAB key
I cannot type the TAB key into the console for 2 strings separated by the tab key, i used the split method but it didn't work. The Java console does not accept the TAB key.
Here's a snippet of my code
...
-1
votes
1
answer
11
views
Implementing client side logger with console.log capabilities
in order to extend console.log in the browser with a few extras (like a timestamp and loglevel) I came up with the following implementation:
const LOG_LEVELS = {
DEBUG: 0,
INFO: 1,
WARN: ...